God knew the answer to this question. He asked it in order to help Adam to confess that he had disobeyed God. (See: [[rc://en/ta/man/translate/figs-rquestion]])
Again, God knew that Adam had eaten from that tree. Translate this question in a form that shows that God was speaking about Adam's disobedience. The sentence can be translated as a statement. Alternate translation: "You must have eaten from ... from." (See: [[rc://en/ta/man/translate/figs-rquestion]])