It’s a scientific conundrum: Twice as many girls as boys develop anxiety and depressive disorders by the time they reach early adolescence.