either they were committing suicide or, more likely, they didn't know the dangers. Maybe they'd been drinking, but even if not it isn't always possible to assess risk properly after dark, or even to be aware that there's a risk to assess. People make mistakes.