Guys have a different emotional life than girls, which makes them more likely to ignore you when they are in pain. Many men disengage from others when they're hurt rather than talk things out as women do. So, if a guy you know is hurting and ignores you, it may be best to give him time rather than force him to talk.

Secret of Male Emotions

Ignoring you is a very likely response from a guy who is feeling hurt. Compared to women, men are not raised to be very emotional. As young boys, many guys may even be made fun of when they show pain. So, if a guy ignores you when he's hurt, it's likely because he doesn't want to acknowledge his pain. He may even go so far as to ignore you to avoid having a conversation about his feelings. If he doesn't talk about his feelings, he doesn't have a chance to 'hurt' his masculine image.