I think for most it's a cry for help, but some people die before they get the help because their method is too effective.
Of course there are also people who have carefully considered their options and decided they really want to die, but I suspect that's a very different group.