Anyone with young boys and girls will notice that girls are much more likely to obey rules and instructions. A lot of doing well in school is about following rules and instructions, and it seems pretty natural that girls will do better.
Also, most teachers are women. I haven't checked, but I'd assume most school administrators are women. It seems natural that they'd construct a system that's more suited for females than males.