Why is the pressure difference f in physical buoyancy equal to f lower surface - f upper surface

Why is the pressure difference f in physical buoyancy equal to f lower surface - f upper surface

The reason of buoyancy is that the object in the liquid will be subject to liquid pressure. The upper surface of the object is subject to downward pressure, and the lower surface of the object is subject to upward pressure. Because the upper surface is closer to the liquid level, h is smaller. According to P = ρ GH, the pressure on the upper surface must be less than that on the lower surface