In a fluid, the molecules are in a state of random motion and the intermolecular cohesive forces are weak. If a fluid is subjected to a tangential force (shear) anywhere within it, the layers of the fluid slide over one another, i.e., the fluid begins to flow. Thus, a fluid cannot sustain a tangential force. So, in

Within in a static, force on a volume element are normal to the surface
turn, a fluid at rest cannot exert a tangential force on any surface with which it is in contact. It can exert only a force normal to the surface. Hence, if a fluid is in hydrostatic equilibrium (i.e., at rest), the force acting on any surface within the fluid must be normal to the surface.