It’s also not the Tree of Knowledge, it’s the Tree of Knowledge of Good and Evil. And that presents a problem:
If Adam and Eve did not yet understand what is and is not a good thing to do, they could not possibly have understood that it was not good to disobey God. Eve did not know the serpent was evil. And yet he punishes Adam and Eve for doing what they did not realize was wrong of them to do.