Why boys and girls are different when it comes reading and arithmetic

Girls from low and middle socio-economic backgrounds are better at reading than boys, while boys from high-socio-economic backgrounds are better at mathematics than girls,