The friction of the water flowing past the moving parts of the valve causes a force on the valve acting to close it.
(the water; flowing; past the moving parts of the valve) (The friction of the water; causes; a force on the valve)
the water The friction of the water
flowing causes
past the moving parts of the valve
a force on the valve