>>12017912the fact that there is a cloud implies that the cloud is denser then the not-cloud around it.
all the gas will be attracted to the clouds gravitational center, but start orbiting this center due to minute spin buildup/turbulence. it will form clumps, those clumps will form bigger clumps, ect, star.
>The particles in the inner part of the cloud would be pulled towards the particles of the outer cloud, and the outer part of the cloud would be pulled towards the inner.For ease of imagining, think of an evenly spread out gascloud in the shape of a sphere for a second.
the particles at the centre of the shere are pulled from all sides evenly by all the particles around it, so they stay in place, the particles on the edges of the cloud are pulled only to the gravitational centre, since on one side they have gas with gravity, and on the other they have just void.
This condenses the cloud more and more towards the centre.
>when on top of all of that the gas is seeking equilibrium and naturally wants to spread out.gas only does that under pressure, but by the time it experiences any pressure from gas particles bouncing around enough to make the gas want to spread out, there is already enough gravity to overcome this. (and if there is not enough gas to overcome this pressure through gravity at any point in the star formation, the cloud will spread out again, being unfit for star formation)
So yes, that happens, but also it sometimes "not" happens when the gas cloud is large enough.