How and why did God do that?

1 John 4:9-10 In this was manifested the love of God toward us, because that God sent his only begotten Son into the world, that we might live through him. (10) Herein is love, not that we loved God, but that he loved us, and sent his Son to be the propitiation for our sins.

What does “propitiation for our sins mean”?
It means atonement and NO it does not mean ‘at one moment’.
Atonement is:

  1. Agreement; concord; reconciliation, after enmity or controversy.
  2. Expiation; satisfaction or reparation made by giving an equivalent for an injury, or by doing or suffering that which is received in satisfaction for an offense or injury; with for.

Romans 5:8-11 But God commendeth his love toward us, in that, while we were yet sinners, Christ died for us. (9) Much more then, being now justified by his blood, we shall be saved from wrath through him. (10) For if, when we were enemies, we were reconciled to God by the death of his Son, much more, being reconciled, we shall be saved by his life. (11) And not only so, but we also joy in God through our Lord Jesus Christ, by whom we have now received the atonement.

The ONLY payment God the Father will accept is the payment completed by His only begotten Son, the Lord Jesus Christ.