Why my ex said we could stay friends and then a month later he blocked me?

After we broke up, he blocked me and then unblocked me. And then he sent me messages saying we could stay friends as I wish. And then a month later he blocked me again

Why was that?
Why my ex said we could stay friends and then a month later he blocked me?
Post Opinion