Answer:
The components move towards different height because of their density as the water is being absorbed by the paper the water would take the components which has lower density up and would let the lower density component to remain in its place
Hope it helps