As soon as Satan had caused the Fall of Adam and Eve, he found himself under the curse of God and was told that the Seed of the Woman should bruise his head.
This made him mad and he was determined to prevent the birth of the promised seed or destroy it after being born.