My father was never really interested in doing anything else, so it was just about the only way we could spend time together. He always found a way to make it fun and had a good sense of humor, but I remember the earlier years being a snooze-fest whenever the pen and paper came out. By the time I entered high school, I had a strong interest in STEM. I was happy.
I don't think I'd be involved in computer science now if it weren't for him. He laid the groundwork, which affected the activities I engaged in and the network of friends I built, so STEM has been positively reinforced throughout my youth. Then again, up until then I wanted to be an archaeologist.
I have a male twin and was taught by my father, who was an engineer. From my experience, I have come to the same conclusion.
People are heavily influenced by gender. For many women, sticking too closely to gender norms during developmental years will shape her into the kind of person that is unlikely to develop an interest in CS. It's the same reason you see more women (or gay men) than straight men becoming stylists.