A massive genetic analysis of more than 6 million people is revealing new clues about why mental health disorders frequently overlap.