My sole question as details emerge is simple:

What was someone with a history of depression doing in command of an aircraft to begin with?