God gave mankind free will. We are free to love by our own choice, which is true love. God could have chosen not to give us free will, in which case any outward expression of "love" would be automatic and have no meaning or value.
God gave free will to Adam and Eve. Of course He would, because He made Man in His own image. God has free will.
Adam and Eve chose to exercise the free will that God had given them, but in the wrong way. Satan, the fallen archangel, was so conceited that he wanted to replace God. He led Eve to doubt what God had said about the Tree of Life, and eat the forbidden fruit. Adam went along with that and shared the fruit.
By accepting Satan's word above God's, they gave Satan authority as the ruler/Prince/ god-with-a-small-g of this world.
Satan hates God and everything God wants and does. Satan is the author of lies and ultimately the cause of all evil.
So when people ask why does God allow terrible things - e.g. children dying of horrible diseases, or being systematically raped by gangs of men - they think God is in charge and doesn't care. Wrong. Satan is in charge of this world. God tends not to intervene unless we ask Him to.
Many, many people think that God does not exist or isn't a good God because they erroneously believe that He is responsible for all the evil in this world. The Bible makes it quite clear that He is not.
I hope this article helps:
https://www.gotquestions.org/Satan-god-world.html