God knew the answers to the questions, but He asked them (through the Logos) because a strategy was involved. God was not seeking information but was giving Adam and Eve an opportunity to explain themselves.
Each one was willing to blame another, which is true of people today. It takes courage to say, “It is my fault. I was wrong.”
“Who told you that you were naked?” Adam and Eve were aware of the sensation, but the question connected the sensation of nakedness with the transgression. We could have a providence that is retribution, a punishment, but view it otherwise. For instance, we might say, “That experience is common to man.” Another hard experience might not be a punishment at all but a test of our faith in God and in Christ. Or a test might be designed to probe and develop us—and not be a punishment in any sense of the word. Experiences have to be analyzed. We should ask ourselves (and the Lord in prayer), “Why did this happen?” Because of wrongdoing, because of right doing, or because of not doing? At the First Advent, Jesus looked into every experience to see what God’s leadings were. He did not see any of his experiences as happenstance. Jesus’ life was ordered of the Lord. “The steps of a good man are ordered by the LORD: and he delighteth in his way” (Psa. 37:23). Hence we should try to see things in this light in regard to important events and circumstances.
“Who told you that you were naked? Have you eaten of the tree, whereof I commanded you not to eat?” Adam first said he hid because he was afraid and because he was naked, but he did not say, “Because I sinned.” His transgression caused the sensations. The ideal answer would have been, “I transgressed. I disobeyed your commandment. I ate of the tree, and I got this sensation.” God pressed the question to get at the real reason: “Have you eaten of the tree that I commanded you not to eat?” This second question was instructional and illuminating. Adam got the point and then offered another excuse (verse 12).
RR