When the outlet pressure exceeds a preset level, the diaphragm moves to close the valve slightly, reducing the flow of gas. Conversely, if the outlet pressure drops below the desired level, the diaphragm will open the valve wider, allowing more gas to flow in. This self-regulating mechanism ensures that the pressure remains stable, adjusting to varying demands.