Why boys do that?

Well basically it happened to me 2 times before and is happening to me right now. I have this one guy best friend who's been hitting on me for a couple months now but ever since I showed him that I like him too, he stopped texting me etc. Why does he do that?
Why boys do that?
Post Opinion