Why is it considered murder when a pregnant woman is beaten by her husband and the baby dies but not when a woman chooses to kill her own baby?

Why is it considered murder when a pregnant woman is beaten by her husband and the baby dies but not when a woman chooses to kill her own baby?
Post Opinion