How come when I tell my boyfriend stories about the times men treated me bad he hates them, but when a woman treats me bad he defends them?

How come when I tell my boyfriend stories about the times men treated me bad he hates them, but when a woman treats me bad he defends them?
Post Opinion