If a cruise ship-size object in outer space were surrounded by a spherical cloud of oxygen, and there were no other bodies exerting significant gravitational force in the vicinity, would the cloud of oxygen be held in place by the gravity of the object, or would it rush out into space? My natural inclination would be that it'd rush out into space, due to the object not having enough mass, but that seems inconsistent with the fact that large bodies, like nebulae and stars, are able to form in space.
It has occurred to me that only gaseous bodies with extremely high density, like nebulae, have enough mass not to diffuse into space. But even nebulae didn't start out as high-density. Those that weren't born from dead stars must have started as a random collection of particles, and accumulated from there, until they became large enough to hold numerous stars. If the natural inclination is for gases to diffuse in a vacuum, then why would a nebula be able to preserve its form, but the spherical oxygen cloud surrounding the aforementioned object immediately dissipate? In the absence of greater gravitational forces, why wouldn't it be drawn towards the object at its center?
I want to reiterate that there are no significant gravitational forces affecting the oxygen, other than the object at its center. The object is the exerting the largest gravitational force on the cloud of oxygen.