The verse is doubtless a metaphor, or perhaps it was a manifestation of God for Adam and Eve to see and interact more personally. Perhaps the author used this as a literary device to highlight the fact that God’s grace was still on Earth and with mankind, this being prior to the Fall.
