Perhaps they were once in a similar situation, and were saved themselves. Compassion for strangers is a very powerfull feeling. It may compell a person to risk thier life, even for a stranger.