One common explanation points to competitiveness and a taste for challenge. Many boys gravitate toward activities with clear goals, measurable scores and a winner, which is also why team sports tend to draw them in. Some writers link this preference to testosterone and typical male developmental patterns.
It is worth treating that as a broad generalisation rather than a rule. Plenty of girls love competition just as much, and individual taste varies far more than any hormone-based theory can predict.