Looking philosophically at the general societal discouragement of suicide, there is a utilitarian element to it – as society doesn’t want the pain that comes with death of a loved one or death reported in the media.
The Utilitarian Discouragement Of Suicide By Society

The family of the suicide victim is sure to be stigmatized by the society.
No matter the condition, suicide shouldn’t be an option.