Perhaps eating his 12 ga. was prompted by his fear/knowledge that he was going to be outed.
Hemingway suffered from depression all his life, so that depression played a major role in his suicide. The heavy drinking probably didn’t help his mental state, either.