Why did the techie kill his daughter?

Just read the sort of news one wishes never to hear and one of the incidents that shakes all my faith in humanity.

A software engineer killed his four-day-old daughter by throwing her into a well because his wife had refused to abort the child.

Leave alone the cruelty of killing one’s own daughter it is the motive (he wanted to teach his wife a lesson) that appears heartless.

To satisfy his ego he sacrificed an innocent life. One wonders what did the baby do to deserve such a fate.