For some men, making jokes and comments that reinforce the idea that women should be less powerful than them is a way of bonding and gaining the approval and respect of their peers.
When aggression and disrespect towards women are seen as part of being ‘one of the boys’, it is more likely that violence towards women will be excused.