When God came into the Garden, and asked Adam “Where art thou”, it wasn’t because God did not know where Adam was, but God was asking Adam,“Do you know, what condition you are in?“
God came looking for them, to give them His Love and His Grace, which God does now today.
Genesis 3:21 Unto Adam also and to his wife did the LORD God make coats of skins, and clothed them.
God made provisions for Adam and Eve to sacrifice an animal and cover their sin with the blood for the atonement of their sin, which an animal sacrifice was used through the Old Testament to cover sins. Hebrews 9:22 without shedding of blood is no remission of sin.
But in the Old Testament, their sins were only covered. Hebrews 10:4
Hebrews 10:4 For it is not possible that the blood of bulls and of goats should take away sins.
Even from the beginning, God already had “the Plan of Redemption” for all mankind to come back to Him. God sent His only begotten Son, Jesus Christ, to look for the sinner, He shed His sinless blood on the cross, not to cover our sins, but take away our sins for all the world.
Don’t Hide from God, He loves you!
Romans 5:8 God commended His love toward us, in that, while we were yet sinners, Christ died for us.