Greeky, babe, maybe it just "a thing" with him.
Like, I used to like a guy and then I would find out that he liked me or he told me himself I would be the hugest jerk to him. I didn't deal well with affection. ._.
BAAAHT maybe it's that. If he tried to cheer you up that means that he at least wants to remain friends. At this point no one knows, but he.