The US military considers suicide to be a crime, and service members have been sent to prison for attempted suicide.