Ever heard of the sun? All the life that has ever existed on earth came from the energy of the bright yellow ball of burning gas in the sky. The sun and the earth are a closed system as far as energy goes. The sun itself will someday burn out, and evolution will cease on this planet, but only because its source is gone. Earth is just tapped into a trickle of energy from a huge source. Do a search for this on google or something, you might learn something. That is an utterly bad argument for "gawd did it."
How did god get here? It doesn't explain anything, it is a catch-all excuse for superstition. Good day.