Jealous guy or something else?

Anonymous
I ve been going on and off with s guy I met last October. We stopped texting because he was not replying to me so I assumed he wasn't interested and left him alone. However, he got really bitter towards me and would act cold and passive aggressive with me.
This changed after I messaged him to take care of himself and he began acting nice towards me, asking questions about my life and being warm.
He was sick so I texted him too and he was like so sweet you are and for being concerned. I wished him well and later on texted him to meet up but not the day he was still saying he was drinking hot teas.

After that, he got annoyed with me again snd started behaving coldly. However, he still continued to talk as I kept the conversation going. But I noticed that we when entered the building, he took the other door and did not enter with me.
After that, I saw him again and he was again being all smiles and nice but he was going to meet his friends girlfriend and he told me he was going to meet someone.
He asked me where I'm going and I told him I was going to get earphones.

Later on I saw my guy friend and we walked together. And while he was with the girl, he saw me with the guy friend.

After a week when I met him, he looked annoyed again and wouldn't talk to me in his own. I stood there and there was an awkward silence when he started talking. He was also looking pretty annoyed and when we were discussing the building closure due to bank holiday, he said the building is closed but I told him that student study space is open. To which he said " I will check if that's true".

His overall demeanor was not good and he gave me a fake smile too.

I dont know why he's acting like that. I feel as if he thought i lied to him about hetting earphones when i was going to neet a guy friend which isn't true. I bumped into my friend, i didn't go to meet him.

Is he not interested or jealous? He's tried to make me jealous in the past.
Jealous guy or something else?
2 Opinion