re: Then, how did it form "somewhere else"?
Life needs an atmosphere, a ground, a gravity, some temperature.
Only the latter, I think. One can envisage life underground on an atmosphere-less planet, life floating in a sea or an atmosphere, or even an interplanetary cloud of the right composition...
