How gender bias in games and geeky movies got there

Well, statistically speaking, if A is beating up B, then A is almost certainly a male. The odds are high B is male too, but not nearly as high as the odds of A being male.