What are some reasons a guy friend would reject your hug?

Like maybe you kinda dated before but not really, and you're just friends now. He either does nothing or offers to shake your hand.
Updates
+1 y
yeah.. I think he thinks I still like him but I dont.. I barely ever did, and I think he drastically overestimated my feelings for him. I just wanna be friends like before but he's all weird about it. that's really rude imo to reject me as if he's the stronger one and I still like him. he wants to wait longer to be friends but I'm like wtf dude its been like months upon months since we were anything more and we barely were. so should I just be like f*** it but isn't that what he wants?
What are some reasons a guy friend would reject your hug?
Post Opinion