Archimedes’ principle.
Forces on a submerged body Investigation

1: Horizontal components of the forces

2: Vertical components of the forces

3: Hydrostatic buoyancy

Notice the analogy with calculations about forces on the walls in the issue Stevin's Law.