Theologians have been studying Genesis 1-3 for thousands of years . 2 thousand, to be exact.
There's a lot of information in Genesis 1 and 2 and 3 that is not immediately noticable.
Adam and Eve had preternatural gifts...
God also gave Adam and Eve the preternatural gifts, namely
capacities and powers above and beyond the powers of created human nature, but not beyond the powers of angelic nature. The preternatural gifts include infused knowledge, freedom from concupiscence (the tendency toward sin and the disorder of our emotions as a result of original sin), and bodily immortality. These gifts gave Adam and Eve strength of will and control of their senses and emotions, as well as freedom from suffering and death.
source: https://afc.org/fc_question/what-special-gifts-did-god-give-to-adam-and-eve/
also...
According to Catholic Tradition, Adam and Eve were endowed with “preternatural gifts”. These preternatural gifts are identified as the following:
Adam and Eve were also constituted in original righteousness (justitia) on account of the supernatural gift of sanctifying grace:
These four gifts correspond to the four Cardinal Virtues:
On account of sin, humanity lost the preternatural gifts and the supernatural gift and fell to a natural state. Man’s intellect became darkened, he became subject to disease and death, concupiscence or the “lust of the flesh” arose in man, and he lost his original righteousness and thus gained original sin.
source: https://taylormarshall.com/2007/10/preternatural-gifts-and-cardinal.html
It's not entrapment because Adam had free will to obey God or to not obey God.
A police net could not entrap me of selling drugs because I don't sell drugs.
God wanted to create us.
He knew we would sin.
He made a remedy for our sin.
He's a God of love, mercy and justice.
When two men make a deal it's called a deal.
When God makes a deal with man, it's called a covenant.
God made a Covenant with Adam...it's called the Edenic Covenant:
The Edenic covenant is one of many covenants between God and man in the Bible. The Edenic covenant specifically refers to the covenant made between God and Adam in Genesis. The Edenic covenant was a bilateral or conditional covenant, that is, there was responsibility on both sides. Adam was responsible to obey, and God would bless him with life. If Adam disobeyed, and ate of the tree of the knowledge of good and evil, death would be the result (Genesis 2:16–17). Adam's life was conditional on his obedience.
source: https://www.compellingtruth.org/Edenic-covenant.html
The article goes on to speak of a second covenant at the time of the Garden...
If you care to look it up, it's called The Adamic Covenant.
The Adamic Covenant was unilateral and unconditinal.
It's interesting to learn all the covenants...