Why is this guy very talkative some days then seems mad at me other days?

Anonymous
This is a man I work with and I’m beginning to get confused by his behaviour.

For me this isn’t about me wanting all his attention it’s more to do with why sometimes he’s very nice and other times he seems like he hates me - please read the end part.

Some days he’s very chatty, will approach me and have a normal conversation or I’ll approach him and do the same. Sometimes we have flirty conversations but most of the time just normal conversations.

Other times we just have a laugh together, or we say hi when passing each other at work and we sometimes text each other, he follows me on social media and always gives me compliments on photos of myself. So he is nice and we get on very well when he’s not in a bad mood.

Then other times if I talk to him he won’t even look at me, feel like I irritate him so I back off.

Today for example I had to give him some
documents and it was close to finishing time so I just asked what he had planned this weekend, he just raised his eyebrows at me and went back to looking at his computer.
While the other night he was messaging me for an hour…

Do you think he’s just stressed at work? He does have quite a demanding job compared to mine. Everyone gets in a bad mood sometimes so maybe he just takes it out on me?

The reason I ask is because I do like him, have always had a small crush on him and obviously I don’t want to annoy the man.

I felt so terrible about it today I started shaking after I spoke to him because of how he acted and I had gone bright red with embarrassment.
Updates
1 y
He is also 16 years older than me - in his late 40s
Why is this guy very talkative some days then seems mad at me other days?
1 Opinion