Guys sometimes blow hot and cold when they are overwhelmed by their emotions. This can actually be a result of them liking you a lot. It's possible that he is feeling scared by his own emotions and doesn't know how to handle them.