I just don’t understand

So there was this guy, and I was in love with him. I though he was in love with me to. We kissed ALL THE TIME. But now, with no warning, he’s “done” he doesn’t like he anymore and won’t even talk to me. So was I was like “ do you know how bad it feels to have the person you love just leave with no warning??!?!” And h was like “well, my friend isn’t talking to me anymore and I don’t know why. She is just ignoring me” and even though that is totally NOT THE SAME, i was like “ you didn’t even tell me about this. I would’ve helped you though it” and he was like “you wouldn’t understand” at this point, my mind is blowing into pieces. And now I’m wondering, if he “know what it’s like”to loose someone by them just leaving, then why did he do it to me? I didn’t do anything to him. I have been nothing but kind and supportive. Did he just want to hurt me? My life is falling apart. I don’t even know why I am here anymore.

Edit- he told me me loved me many times. And we are in our teens. I don’t want to give my exact age for privacy reasons.