boy troubles...?

Kaitlyn
I'm 15 and there's a guy at school that I've liked for a couple of months that I started messaging a couple of weeks ago. It went really great at first, we hit it off and he was super nice, even messaged me first one time and sent me a 😘 emoji when he was saying goodbye. We hung out downtown together and had lunch one day too and he seemed pretty chill afterwards. Until recently he's been pretty enthusiastic about being around me but now he's ignoring me and seems very bored when talking to me. When I see him in school he will smile and wave at me and I spoke to him in person the other day too but he just won't reply to my messages anymore. The last time I spoke to him was last Tuesday and even then the conversation didn't last more than 30 minutes. His replies were short and it was a very one sided attempt at a conversation. I'm not sure what I've done and I'm pretty bummed out considering he's pretty much ghosted me now. Any advice?