Girls in general get switched on straight away and quickly learn to do what is required. Throughout the rest of their school days they do the required work and fit in to the system. Boys tend to take longer. They like to play with their friends and form gangs. School is a place where they meet their friends and muck about.
Work is a dirty word.
The general tendency is to do the minimum work that you can get away with. Homework is done in a hurry in the minimum time and never checked. Boys can be good at games and score well in the team. This is a method of improving ones position in the gang pecking order. Girls then do well in their exams throughout school life, usually beating the boys and coming top.