Only when all the masking and etching is complete is the sacrificial gate layer dissolved away, allowing the gates (and the insulation layers between the gate and channel of each transistor) to be filled in.
When pressurized water is fed over such an intersection, the pressure pushes down the thin layer of rubber, separating it from the fluid below, and it clamps shut the fluid channel below, like stepping on a hose.