It's natural overreaction. It is easy to rail against everyone in a group, rather than rationally say "no, it's just that one person" and possibly have to accept one's own fault. The trick comes in handling the cool-down from that overreaction well and remembering that "all women are horrible" is as untrue as "all men are horrible" or "all Germans are nazis" or something equally terrible (and yes, I've heard all of the above ).
Oh, and yes, women do it too. I've both seen it and been the victim of it. Sure, anecdotal evidence doesn't count for much, but there you have it.