It was designed and then evolved via the Will of G.d over billions of years to the wonder you are now so fascinated with.