Here's another newsflash:
Children like to play with kids of their own gender.
People gravitate towards people like themselves. It doesn't mean they won't learn to appreciate different kinds of people.
But it's not racist, or sexist, or motivated by any kind of malevolent intention.
It's just easier to deal with people who think like you.