In Hydrostatic, if the fluid is a perfect fluid that is non-viscous, it doesn't experience any shear force because if it would experience so it might start flowing so something might be working to make it stay at equilibrium.
Pressure exerted on the walls of a vessel is the force exerted per unit area by the Brownian Motion of the fluid particles. Since shear force on the fluid is zero, therefore reaction force exerted by the vessel particles on the fluid is perpendicular to the surface area of vessel which implies the fluid particles are making contact perpendicularly with the surface of the vessel.
But this is not true as in Brownian Motion, particles vibrate in every direction. So there will be possibilities where they will hit the surface of the vessel at an angle. So the reaction force from the vessel to the fluid will also be at an angle, which will have a component parallel to the surface area of the vessel.
So ideally, the fluid should experience a shear force? If not, an explanation of how this works at a microscopic level would be beneficial.