Boys “thing-orientation” and girls preference for “faces and dolls” show up in, for example, (a) neonatal human babies, (b) young rhesus monkeys and (c) chimpanzees babies. Also seen in a bunch of other studies.
For the people who are disturbed because this doesn’t match your world-view; remember that this is two bell curves with different medians. There is significant overlap at the individual level, but also large differences in tails, which explain the reality we see around us (some occupations dominated by women or men respectively).
https://www.math.kth.se/matstat/gru/5b1501/F/sex.pdf
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2583786/
https://news.harvard.edu/gazette/story/2010/12/female-chimps...