The effect is primarily observed in gases, as liquids have incompressible properties that prevent similar behavior.