Due to collisions between particles in the spinning cloud, the solar nebula begins to flatten. The particles in the gas cloud first have all different speeds in different directions. As they start colliding with each other, their final velocity is the average of the two initial velocities before collision.