Water flowing through the hose has resistance from the inside hose surface itself as well as at the nozzle. This same resistance occurs as current flows through an electric wire. However, in electricity the resistance is measure by a unit called the Ohm . With greater pressure, water flow increases through the nozzle and resistance is greater. On the other hand, if pressure drops, water flow decreases.
Resistance is an important part of the electrical equation.
A smaller hole in the nozzle of a water hose increases resistance. In pipes, friction on the walls makes resistance. In wires there is resistance from the wire itself and, if you add a light bulb with a fine tungsten filament, even more resistance is produced. You might think of the light bulb as the nozzle. Water flow is measured in gallons per minute.