Sounds to me like he really likes you...you hurt him when you pushed him away in the past, and as much as he still likes you he doesn't want to give in and just go out with you, he still can't get over being turned down, guys are like that, they are so full of pride and it makes them look bad being turned down, so he's showing you how it feels, it will pass...just don't give  up if you really like him...