Sounds to me like there's a vicious cycle going on. Girls are socialized to think that math is hard, have difficulty acquiring the skills, grow up, become teachers, and pass both their skill and attitudes on to the next generation of girls. This makes it rather difficult to find the ground truth (if any) on whether girls are inherently worse or better at math.