As the gas cloud coalesced particles were being pulled towards the center of gravity (what will become the star). The gas cloud is also rotating. Centripetal forces from rotation are then trying to throw material away from the center of gravity. The stable configuration for this is for the mass away from the center of gravity to settle into a plane perpendicular to the axis of rotation. So, the cloud flattens out into a plane perpendicular to the axis of the cloud's rotation.
EDIT: "none of those answered my question. this is a mutiple choice question. I just for got to mark the answers A, B, C, D."
Honestly none of your choices are correct.
"A" is right out.
"B" is right out.
"C" not right
"D" not close
Guess "D" is closest if you must but your teacher should be fired. The answers are very wrong.
Gravity in the initial cloud will not pull into a flattened disk. Matter will want to clump but it will clump randomly in different areas, not on a plane (except by some insanely remote chance).
Collisions will not randomly flatten it either. Collisions will be random and pushing in all directions.
Cooling gas is just less energetic gas...it won't flatten.
Gravity *will* pull towards the center however where the most stuff is (the yet-to-be-star). Angular momentum is conserved however and the whole system will spin. As it spins the stuff further out will want to fly away. Gravity keeps this from happening so it all settles into an orbit and the stable orbit is perpendicular to the axis of rotation.
Hell, we see this when a guy throws pizza dough in the air and spins it. The dough flattens out into a circle perpendicular to the axis of spin.