The reason we're having this conversation, is because the God who loves and cares deeply for you, arranged this meeting before the time of creation. After forming this planet and populating it with every life-form imaginable, he placed within it a man and a woman as caretakers. He instructed them to be fruitful and multiply, but inserted a single note of caution: "refrain from eating the fruit of a tree in the middle of a certain garden." The footnote added to this cautionary warning was, "on the day you eat of this said fruit, you shall die."
Now the case could be made, concerning a "loving God." Why would the lure connected with such a dire consequence, be placed right in the center of one's existence? The answer to this question is multi-faceted. The man and woman were given a quest to prove their loyalty to their creator. If the lure to break the loyalty pact is located directly in the center of their existence, this would be a true test of loyalty. Also, if the one demonstrating loyalty was inclined to deviate from the pact, the proximity of the lure would have absolutely no bearing.