Most of the time, bullying and harassment are the key elements for someone to make such a drastic decision, as well as loneliness. Rarely is it due to illness, some ask for euthanasia.
But yes, even in all those possibilities it is quite sad, we will never really know what was in the mind of the person who took his or her own life.