The panspermia theory argues that life is originated in space, in spatial ices, and continuously distributed to the planets by comets and meteorites. The origin could be somewhere nearby, like Mars, or light years away.
Panspermia
Panspermia is the belief that the life on earth derives from “seeds” of extraterrestial origin