If the mom is going to die and the baby too, it would make sense to kill the baby and save them mom. I believe this is the only exception because it doesn't make sense to loose both lives if one can be saved.