But hey, God is just. Let's see what happens.
I argue that the soul comes from the father via the sperm, and that the sperm is a carrier of life that originated from God. Hence potentially why God is reffered to as a "He".
The female on the flipside, is the carrier or "Ark" of the soul, and hence God. The soul then uses the various nutrients of the egg to "Grow" in to a human form. Imagine, we as sperm became a nervous system with a human body around it. We grew a body around us and are piloting it much like a pilot can control a vehicle or mech.
Even masturbation isn't sinful since, yes, the sperm had a soul, but it was a piece of soul from the father. Sort of like growing hair and cutting it. It just grows back.