Have you considered that it might be the result of innate toy preference? It's pretty well established that the difference is innate (http://www.scribd.com/full/36579212?access_key=key-1ztjrngs9...), and it might have an influence on these early stories.
Secondly, there are expectations about it. For example, if a boy takes apart a computer, everyone goes "such a boy", but if a girl does it, people say "hmm, that's odd." (even if it's good surprise, it's still surprise). I know when I was a child I was pushed to do things like ballet and cheerleading and orchestra when what I wanted to do was martial arts and read and become a scientist.