Why does someone block all of a sudden?

When he is initiating contact just a week before blocking me and saying he‘s happy to see me and that he missed me? He also suddenly hugged me very long and just held me last time we were together. Was he playing with me the whole time?

Why does someone block all of a sudden?
Post Opinion