I'm having a hard time wrapping my head around this question. I think it's both for me but I have more than a few problems that cause me more than enough pain and numbness that have made suicide an inevitability.
On the other hand I think the way life itself and human society is structured is a complete nightmare. You are expected to slave your life to simply exist and the only thing you are guaranteed is suffering. There is no guarantee of safety, comfort, health, happiness, etc. Humans beings are extremely selfish, cruel, delusional, ignorant, and place value on wealth, status, and looks rather than the things that should matter.
I could go on endlessly but the point is that reality is a twisted, unfair, and imperfect place that drives me closer to suicide but my personal circumstances are likely the main reason and I'd likely want to live if I were pain free.