The pilot told investigators he had been struggling with his sleep for some time because of personal circumstances.