Girls tend to attribute their failures to factors such as lack of ability, while boys tend to attribute failure to specific factors, including teachers' attitudes. Moreover, girls avoid situations in which failure is likely, whereas boys approach such situations as a challenge, indicating that failure differentially affects self-esteem.
Michael Lewis (1995). “Shame: The Exposed Self”, p.106, Simon and Schuster