Inductance equates to inertia.
Water in a pipe is similar to current in an inductor.
Open the valve (apply a voltage) at one end and there is initally no current at the other as the pipe must first fill with flowing water which possesses kinetic energy which would be analogous to the energy stored in the magnetic field.
Close a theoretical valve at either end in zero seconds and the inertia of the water momentarily produces infinite negative pressure at one end or positive pressure at the other.
Of course it take a long pipe and lots of flow for these effects to be dramatic. A 10 foot long section under your sink would be like a wire on your board and neither valves nor transistors open and close in zero seconds. Try one hundred turns of 1" pipe around a large backyard, maintain 60 psi (Volt) input with little flow restriction (resistance), and see how quick it destroys a fast, solenoid operated valve rated for 200 psi at the other end.