All of the planets are not even of similar composition!
The comets that have been observed are of Earth-like composition.
Assumming for the sake of discussion that’s true, how did they get from Earth and its orbit to their current orbits?