Wind shear occurs when there is a dramatic change in wind direction and/or speed.  

Within an inversion the wind can be doing something quite different from the wind above the inversion.