Planetary Boundary Layer
Because of  friction the air
near the ground moves
slower than the air above.
Friction layer
Planetary boundary layer
With more vertical mixing of
the air (e.g. unstable
atmosphere) the difference in
speed is smaller.