Is it all in my head?

My crush seemed like he liked me before but I couldn't believe it so I ended up giving up on my crush. its a new term and now suddenly he doesn't show any signs of liking me.

was it all in my head? or was it something else? did he like me but then decided that I didn't like him back so he moved on? is he playing?

Updates
1 y
before he:

1. would stare at me more often
2. would always start to conversation via text
3. would come up to me and talk to me rarely
4. his friends knew about me
5. raised eyebrows
6. prolonged eye contact when chatting
7. made his friends spy on me or maybe it was just his friends

now he pretends that I don't exist. might be because I'm weird or something. doesn't show any of these signs. sends very occasional glances and I never catch him staring. he's also less consistent with text
Is it all in my head?
Post Opinion