Because these effects are related to a spatial variation in the phase speed, and because the phase speed also changes with the ambient current—due to the Doppler shift —the same effects of refraction and altering wave height also occur due to current variations. In the case of meeting an adverse current the wave steepens, i.e. its wave height increases while the wavelength decreases, similar to the shoaling when the water depth decreases.