If God created Man in His image, then the man was absolutely perfect. He could walk around that Tree all day long and never be tempted to touch it, much less eat from it. His existence would be robotic, just living day to day doing whatever was instinctual. In order for Man to exist separate from God, able to make real choices on his own, he had to evolve Free Will.
So, change the man by giving him something else besides God/himself to love and desire to please (Eve/woman) and you have a whole different scenario. The woman who was "flesh of my flesh and bone of my bones" was Adam's weakness. She was tempted into disobedience and Adam chose to die with her rather than live without her. That's when Free Will was finally born. Meaning: From the moment Man evolved to the point that he was willing to give his own life for the love of another, he entered a higher state where choice became more complicated and consequential.