We can show that pressure upward and downward in a fluid is caused by weight of fluid column or volume. A simple derivation of this:
$$\text{Pressure}=\frac{\text{Force}}{\text{Area}}=\frac{\text{Weight of the fluid column}}{\text{Area}}$$ $$~~~~~=\frac{\text{mg}}{\text{A}}=\frac{\rho Vg}{\text{A}}=\frac{\rho g\times Ah}{\text{A}}=\rho g h$$
I am able to show that pressure in a fluid at a height is $\rho gh$ upwards and downwards, but how can I show that it acts sideways too?
I found a pretty reasonable answer here. So is this the correct reason?
Fluids are made of a large number of very small particles, much too small to see. These particles are in constant, rapid motion. They bump into one another. They bump into the walls of any container that holds them. They bump into objects in the fluid.
As the particles of a fluid bump into an object in the fluid, they apply forces to the object. The forces, acting over the object’s surface, exert pressure on the object. When the pressure in a fluid increases, the particles bump together more frequently. This increases the pressure on objects in the fluid.
The pressure a fluid exerts on an object in the fluid is applied in all directions. That is because the particles that make up the fluid can move in any direction. These particles exert forces as they bump into objects in the fluid.