Stellar formation

Why does a rotating collapsing protostellar cloud commonly form an accretion disk around the developing star?