How do scientists believe the earth was formed?