There is nothing innate, immutable or inevitable about boys or girls doing particularly well or badly in different subjects. Girls in Shanghai outperform western boys in math, the same boys that outshine the girls in the US. The variable factor is the educational system, the society and the parents.
It was common for my father to sit my sisters down and tell them things like, "I saw a girl working in the bank in town, and she was a girl just like you." My parents had never completed primary school. They couldn't speak English or even read that well. My parents only knew the language of numbers, buying and selling, but they wanted more for their kids. That's why my father had scraped the money together and kept Annie in school, despite the famine and other troubles.