The mechanics that could describe the formation of the third planet from the sun has defied an adequate scientific explanation for decades. Theories abound about how the big bang gave birth to the universe, as we know it, eventually spawning a mediocre galaxy with a medium sized star accompanied by eight planets. The third planet, being unique in many extraordinary ways, eventually gave birth to millions of forms of life, with at least one form possessing an intelligent mind.
Many creation theories, even those that are widely accepted today, fail to provide an scientifically sound explanation of the earth's creation because the fail to account for the entire process that was at work during the early billions of years following the big bang. Fortunately, recent advances in scientific knowledge made possible by advances in orbiting telescopes, such as the Hubble, have provided many new clues and as many new theories about how the post big bang universal soup eventually boiled down to the beautiful universe we know today.
As far as the creation of the earth is concerned, philosophers and scientists would do well to begin their considerations with the creation of the galaxy and subsequently moving on the the creation of the solar system and its family of planets. We now know that at the center of our galaxy, the Milky Way, is a massive Black Hole. In fact, it now appears that every galaxy in the universe has a Black Hole at its center, with a myriad arrangement of other stellar matter locked in orbit around them.
The power and effect of galactic Black Holes is not completely understood, but one thing that is certain is that all the stellar matter that revolves around them are held in its grip, presumably according to the laws of motion and physics as we know them. So when it comes to considering how one planet was formed from within the entire stellar mass of one galaxy there are a multitude of things to consider. In the past, simple earth formation theories have been widely accepted because the complexity of these processes and concepts can be difficult for many to understand and believe.
One possible explanation, if one allows for the galactic soup versus dust theory, begins with understanding the relationship between the forces of magnetism and gravity along with the laws of motion and light. In this explanation, a potpourri of stellar chunky soup possesses magnetic properties. As the soup swirls around a young star with its own influencing magnetism, the magnetic particles begin to collect together in an ever increasing mass. Since the heavier materials are closer to the sun than the non-magnetic and much lighter gases, they separate into a band of magnetic materials that pull other magnetic materials, mainly the heavy metals like iron, nickle and chromium together.
Once a critical mass of this magnetic materials is reached, a new and more powerful force takes over: Gravity. Remember that it's still soup with a swirling band of magnetic materials and other non-magnetic stuff at this point. Once the magnetic materials have combined to a size of sufficient mass to trigger the law of gravity on a grand scale, everything in the band, magnetic or not, collapses together to form a large planet sized rock. After that, it's all about growing in size around a magnetic molten core by attracting any form of matter, including lighter gases like hydrogen and helium, within a respectable distance, countless meteorite and comet collisions, millions of years of surface cooling and the emergence of water that eventually brings forth life. A few millennium later, one of millions of life forms calls it Earth and wonders how it and they got here in the first place.
This is just a theory, mind you, but the main idea is that when it comes to considering how a single planet, within an unimaginable universe was formed it would be wise to take a broad view, giving due credit to every form of force, matter and energy known to exist. Now, if we could only explain the Dark Force, Dark Energy and Dark Matter, we'd be truly amazed.