Two forces act on the contracting cloud - the centrifugal force due to rotation and magnetic fields. A collapsing cloud will always have some slight rotation. He spins faster. This called conservation of angular momentum. When a cloud collapses its spinning motions get amplified.
Magnetic fields act as tightly strung wires.
The Stages of Star Formation We will follow the birth of a single star like the sun from cloud to fully developed nuclear burning. These evolution tracks are very important for they give us at quick glance the history of a star. The cloud is perturbed and the collapse begins. Note stars do not in general form in isolation. Even though it has contracted its temperature has stayed the same.