For the same reason that parents place prohibitions on their children. We don't do it to test them. We do it because it's best for them; or it's best considering the situation.
For example: Let's say the mother bakes cupcakes and decorates them; and places them in a container. She tells the children not to take any, not even to touch the container. Why does she place this prohibition on her children? Because later on in the day, company is coming over; and they will have a party then. But is she always obligated to give the 'why' reason for the prohibition to the young ones? Does she need to tell them about the party later? What if she wants to surprise everyone?
Mom also does not feel the need to seal the cupcakes in a vault until then, so she just leaves them visible on the counter. Is that so bad? Is she meaning to tempt her children by letting them be visible. No, she trusts her children will be obedient.
Likewise with the tree in the Garden of Eden. That tree, -- God reserved for himself 'as representative' of something highly important for mankind to realize. Humans could not see God. They were at a disadvantage. They would not receive certain impressions about God that angels would have about God. So this tree would represent God's right to decide what is good and proper; and what is bad and improper. All future generations would also recognize the importance of our 'dependence' on Jehovah; and our need for obedience and trust that Jehovah is the one who KNOWS what is best for them, given the situation that they are mere humans; and have very limited 'understanding' capabilities.
An example of human's desire for something tangible is the use of images / idols in worship. For them, the idol represents something HIGHER. The only exception to this example is that God has spoken against the use of images for worship - - but the point is that humans do have a need for things that are representative. (The flag is another example. It is 'representative' of something higher than just 'cloth'. There are also prohibitions on how the flag is not to be used.)
Everything God has created has some sort of 'prohibition' or LAWS. It's just the way it is.
Even when you drive on the road, there are 'prohibitions'. Why? Because all things considered, it's just the best for us, whether we understand it or are incapable of understanding it at the moment.
God is capitalized and to give Adam company
Adam and Eve were created by Jehovah (God).
In the garden of eden there were no adults to give birth to Adam and Eve. Besides they were the first living humans that god created.
all he asked adam not to do was eat the fruit of the tree of the knowledge of good and evil. after eating the knowledge of good and evil fruit adam was banished from the garden along with eve who also ate the fruit.
God created Adam and Eve.
God created Eve with Adam's rib.
God created Adam in His image, and then God took one of Adam's ribs out and made Eve
Adam and eve were the first humans to disobey god.
No Adam and Eve were not there by accident, they were created by god, Adam from the clay and Eve from one of Adams rib.
Adam resembled the Hebrew word for dust or earth (adamah) that he was made out of and Adam named Eve Eve because Eve resembles the word for living, and she was the mother of all living. For the record, God did not name her Eve, Adam did.
what different punishments does god impose on adam,eve,and the serpent
God did not make/hope/cause Adam & Eve to sin; it was there own free will.