Nowhere does the Bible attempt to explain how God does anything, only that He did.
"So shall my word be that goeth forth out of my mouth: it shall not return unto me void, but it shall accomplish that which I please, and it shall prosper in the thing whereto I sent it"....."For he spake, and it was done; he commanded, and it stood fast." (Isaiah 55:11,Psalm 33:9)