I think why people think about suicide he wants peace so badly. and it all starts with a stressed, confused or heartbroken mind that is also similar to stress.
a person who is desperate as if there is no enlightenment in life in the future, will think suicide is the right choice, because he feels that it is useless to live anymore.
but remember, everything needs a process, no matter how bitter life is, stay optimistic in living life. because if we are not optimistic then life will fall apart and have no chance. so always be grateful for all the gifts from God, and think well then look at the people below us so we can be grateful.
The first thing that will make someone think of suicide is frustration, frustration makes people think about ending their life and have peace of mind, some people are frustrated with the lack of peace in their life and what causes it most is money, people who are broke without no any alternative always think about suicide because they think that the world has come to an end that there is no good future ahead, there are many ways that a person will think of suicide but the main one is frustration.
Another reason why a person thinks of suicide is force, forcing someone to do what he or she doesn't like also makes a person think of suicide, I have seen many people committing suicide most especially girls, some parent force their daughters to marry the person she doesn't love and what will come into the daughter mind is a suicide, either killing who they ask her to marry or she will kill herself, so many things make someone think of suicide.