I happen to think hormonal (testosterone and estrogen) influences during gestation shape our behaviors strongly. Possibly some of these can be affected, like any genetic expression, through environmental stimuli (parents exposing a girl to GI Joes e.g.).
Here is one article -
An Evolutionary Perspective of Sex-Typed Toy Preferences: Pink, Blue, and the Brain that discusses the gender and toy preference.