Why did he unfriend me on snapchat after acting like he liked me?

This guy who goes to the same school as me showed literally all the signs of someone liking you but then the other day I noticed that he unfriended me and completely started to ignore me at school. He used to always stare but now looks down every time he sees me and acts shy. I don't understand why because he's really popular and one of the most confident guy that I've seen so why would he act that way only around me?
Why did he unfriend me on snapchat after acting like he liked me?
Post Opinion