As the diaphragm moves, it allows more gas to flow when the pressure drops below a setpoint or restricts the flow when the pressure exceeds it. This dynamic creates a feedback loop, ensuring that the outlet pressure remains consistent despite variations in the supply pressure.