 He knew where they were, but he wanted them to fess up. Have you eaten of the tree from which I commanded you not to eat? Well, Adam and Eve did not make that confession, unfortunately. But that didn't stop God from searching for his people all throughout salvation history.