The pressure
gradient force balanced by the coriolis force gives us the geostrophic wind
blowing parallel to the isobars. Once you get into the friction layer the
surface friction force reduces the wind speed which then reduces coriolis and
so the wind changes direction. This process is caused by the friction force.