HE is not an honest person.
his girlfriend may be giving off a hard time about having you as his friend, she may be the one threatened here by yours and his relationship in the past. He may avoid you because he doesn't want to tell you he's letting his girlfriend call all the shots in their relationship. He has decided he values the relationship of others more than the one he had with you. So, yeah of course that hurts alot.