> Aren't most of their teachers, friends, and roughly half of their parents women?
Social norms which preserve group (race, sex/gender, caste, etc.) roles are rarely present among only the group whose acceptable roles under those norms are also those most valued.
Perhaps. But if you look at the current distribution of gender in engineering they may not advocate exploring those professions because historically it wasn't common for someone to advocate the same for them. The key is breaking that cycle so people feel free to explore whatever they're interested in.
For example, a 1999 review[0] of the literature noted that teachers "tend to stereotype mathematics as a male domain, [...] overrate male students' mathematics capability, have higher expectations for male students and more positive attitudes about male students".
Look, if even ONE woman in computer science said to you that her high school math teacher told her that she wouldn't be well suited for Computer Science, you don't tell her, "I find it impossible to believe you." Chances are, dozens of other men have already said the same thing -- and that can be just as discouraging as the original comment.
I'd also recommend an anecdote by Michael Kimmel, see the section "MAKING PRIVILEGE VISIBLE" at http://www.fjaz.com/kimmel.html.