I think that an element of the problem for all suicides is the disjoint between expectations of what life will bring and the reality from which the escape is only seen as death. People attracted to flying are probably 'thrill seekers' who actively seek out challenging situations and relish the excitement of resolving them, physically. The problem they face in the profession is that neither passengers nor management relish that and want flying to be not exciting, boring. The skilful pilot will use his knowledge and experience to make it boring, sometimes that is not enough and that disjoint arises, when it does there are various release mechanisms, dangerous and challenging sports, drink and in extremis mental illness.