Cream from the milk is separated by centrifugation because:
cream floats over milk
The cream is lighter than milk, on churning, it rises to the top and can be collected. Centrifugation works on the principle in which the denser particles are forced to the bottom and the lighter particles surface at the top when a mixture is spun rapidly.