Pressure and velocity in inviscid flow are linked by Euler's equations of motion. In fluid mechanics, viscosity creates shear stress, which is a force that acts along a surface. For low-viscosity fluids like water, these shear stresses are very small. That lets the fluid be treated as inviscid, or frictionless.
In an inviscid fluid, shear stresses are absent. Only normal stresses remain, and these act perpendicular to a fluid element. Pressure is the negative of the normal stress. It stays the...