It’s red shift and blue shift, because this only occurs when the frequency of the wave is made longer or shorter due to the movement of the source relative to the observer.
Diffusion has a membrane which allows even large molecules to pass through it whereas osmosis allows only water molecules as it has a partially permeable membrane.