I don’t understand why he did this?

I have a huge crush on a guy and we flirt loads. He is hot and cold with me. I’ve noticed that he doesn’t act cold towards other people, just me. Today, as I was waiting for my coffee, he ignored me but spoke to other people.
When I retrieved my drink, he smiled at me and said that the waitress was good and made my drink. I replied with “at least she spoke to me, you ignored me”
He pulled a confused face and said “I did say hello but you were glued to your bloody phone”

but he didn’t say hi at all. Why is he being like this?
I don’t understand why he did this?
Add Opinion