Boys are dumb

So I have a little rant so I dated this guy twice and we ended on good terms and then he kinda lost his friends they ignored him so I was nice to him because I still really liked him and then we hung out at his house and cuddled then not even 3 days later he blocks me on all social media and dosent talk to me in person?! So I don’t know what I did but it made me really mad so I’m doing the same like he was my first love now he’s a dick about it anyone else have this happen to them?