Any theory that explains why physics is gendered should also explain why education is also gendered. It's unlikely that those two fields ended up with skewed gender ratios for completely different reasons.
So, why do you think psychology, education, and nursing are all female dominated fields?
If it was simply a pattern of shitty behavior, what I would expect is some fields that women obviously don't have access to, and a more or less even gender ratio in all the other fields.
What I'm seeing instead looks a lot like gender ratios are a gaussian distribution, which I don't think fits your hypothesis that the gender ratios are caused by "a pattern of shitty behavior". That probably is a co-factor, but it doesn't explain the female-dominated fields very well.