It’s very much like how islands in the sea are colonized by life. Some event causes a blob of living creatures to enter the sea on a raft and they drift until they make landfall somewhere else. Sometimes they survive long enough in the new place to reproduce.