Why would a man block his female friend out of the blue?

So we used to hang out everyday. He would make out with me sometimes, and cook for me too. Out of the blue i was blocked everywhere.
Why would a man block his female friend out of the blue?
Post Opinion