Original: Different compounds in the sample mixture travel different distances according to how strongly they interact with the stationary phase as compared to the mobile phase.
Simplified: The mobile phase flows through the stationary phase.