Shock diamonds form when the supersonic exhaust from a propelling nozzle is slightly over-expanded, meaning that the static pressure of the gases exiting the nozzle is less than the ambient air pressure. The higher ambient pressure compresses the flow, and since the resulting pressure increase in the exhaust gas stream is adiabatic, a reduction in velocity causes its static temperature to be substantially increased. The exhaust is generally over-expanded at low altitudes, where air pressure is higher.