Do I come off as needy? am I just entertaining his ego?

There’s this guy I think is attractive and I slid into his dms first and showed interest in him, he’s very quick to respond (sometimes even takes him seconds) and shows interest in our conversations but every time we text he stops responding to me at some point, I have replied to his stories like two more times (me initiating the conversation) but in a period of a few months apart between each text and for reasons that don’t seem like I’m thinking of him all the time (for example once was bc we were at the same festival and the last one to congratulate him on his graduation). I’m confused bc he clearly is flirty, and even mentioned going out but he stops responding even before making a clear plan to see each other. I know I need to stop texting him first and I will not do it again, but I don’t understand why he flirts with me and even suggests seeing each other if he’s not interested. It just seems unnecessary to me if he knows it’s not going to happen. For example for his graduation message he could’ve just said thank you but he decided to suggest celebrating together.

My friends said he’s just playing with me and me being clearly interested is fun to him. What do you as a guy think of this situation? I know if he ever reaches out to me again I would take my chances with him but i’m worried of coming across as to easy.
Updates
1 y
A friend suggested he might have another girl in his life at the moment and his actions are just to keep me around in case that doesn’t work out. Also English is not my native language so I apologize for any mistakes or if my way of explaining is confusing.
Do I come off as needy? am I just entertaining his ego?
Post Opinion