The Earth formed from the same cloud of matter that formed the Sun, but the planets acquired different compositions during the formation and evolution of the solar system.
ðɪ ˈɜːθ fˈɔːɹmd fɹʌmðə sˈeɪm klˈaʊd ʌv mˈæɾɚ ðæt fˈɔːɹmd ðə sˈʌn, bˌʌt ðə plˈænɪts ɐkwˈaɪɚd dˈɪfɹənt kˌɑːmpəzˈɪʃənz dˈʊɹɹɪŋ ðə fɔːɹmˈeɪʃən ænd ˌɛvəlˈuːʃən ʌvðə sˈoʊlɚ sˈɪstəm.