Why Did Scott Peterson Kill His Wife?

There were a few reasons they say why he killed his wife. One of them was because he was having an affair and the other one was that he was not ready to have the baby she was pregnant with.