It's wrong to cause your child to die.
It's a hot summer day and Frank just drove home from the grocery store with his toddler strapped in the car seat.
Frank wants to unload the groceries.
Considering the possibility of heatstroke, Frank takes his toddler out of the car seat first and then unloads the groceries.
Frank takes the groceries inside first and then gets distracted, leaving his child to die of heatstroke in the car.
Frank finishes his shopping trip uneventfully with his toddler arriving home safe and sound.
Frank gets arrested and charged with murder.