I see this in my own family. Girls are taught to try harder if they aren't succeeding, boys are taught that it's someone/something else's fault ("that teacher doesn't like you", the wrong "learning environment", it's too hard for his "development stage" etc etc).