This is from this ^^^ link.
What happens when it hurts too much to live? Can it really be too painful to live one more moment with emptiness, depression, and despair? Yes, for some people suicide seems like the only way out.
Not every person who contemplates killing themselves is truly interested in ending their time on earth. For many, suicidal thoughts are about escape — musing about the idea of leaving the bonds that bind them to other people, responsibilities to burdens, and the despair of what they can’t change. If they could just escape it, maybe they still could go on somehow. Not right now, but after a while. They just need to get away from it.
Suicidal thoughts and actions are also sometimes paired with strong impulses and low inhibitions. This can happen with drugs and alcohol, bipolar disorder, or any personality style that leans more toward action than consideration. When a depressed or desperate mood gets legs, a person could be in real physical danger.
These are all fictional examples, but you can see how impulse plus mood problems can equal suicide.