Sarky, in the past 20 years or so, LEGO has moved to more "themed" sets rather than the former "bucket of bricks" approach that promoted creative, imaginative play for both boys and girls. Many of those themes focus on people/animal/creature figures and the vast majority of those are male figures.
Evidence shows that children like to play with toys and hear/read/see stories about characters they can identify with. In the main, those toys and characters are male (even if animals or make believe creatures) and white (if humanoid.) That leaves girls (and non-white children of both sexes) often feeling that they are "left out," and/or getting the message that white and male is the "norm" (i.e. most interesting, most fun, most important, etc.)
It's pretty well the same for Playmobil and Lego figures. For every female figure, you'll get 5 or 10 male ones. It was depressing to see Playmobil introduce lucky dip bags in pink (containing princesses, mermaids, fairies but also a rock star and a highwaywoman, which is something I guess,) and blue (wide range of interesting male characters.)
I suppose at least the female Playmobil figures aren't as sexualised in appearance or given such a narrow range of gender-stereotyped "interests" as the Lego Friends ones. I don't understand why they couldn't have made them, for example, like the female Character Options minifigs. Okay, the figures themselves don't have Barbie proportions, but "cartoon characters" used to promote Lego Friends have those familiar short skirts, tight tops, uber thin waists and legs and made up faces.
Seriously, if they just put more female characters into the sets that are now so male dominated (and represent more ethnic and cultural backgrounds as well,) then I think their product lines would appeal to more girls.
The whole pink/pastel is for girls thing is very, very recent and imho, market driven. Seriously, I'm old and it wasn't like that in the 60's or 70's.