We're never going to know all the answers now.
Deuteronomy 29:29 - "The Lord our God has secrets known to no one. We are not accountable for them"
God hasn't told us every single detail about what happened when He created the earth, or whatever you want to know about. Just take the time...