That, I believe, is the job environment in the Indian security forces, or of the farmers' poor conditions, which lead to such high suicide rates. There is meanwhile no meaningful or sympathetic guidance from the Defence authorities, when defending the country overrides the security personnel's personal welfare. And in similar fashion, there is no direct or indirect social/family support to farmers.
These are my views. But in respect of the security personnel who took their lives, had the Government of India/Defence Department acted rightfully and empathetically, these souls, who volunteered for their country, would have been saved.