How is stabbing a 30-week-old baby in the heart with a poison-filled syringe before birth morally different from ‘snipping’ a 30-week-old baby’s neck moments after birth?

How is stabbing a 30-week-old baby in the heart with a poison-filled syringe before birth morally different from ‘snipping’ a 30-week-old baby’s neck moments after birth?