Compressive loads have many failure modes, and the first to be reached is rarely compressive strength. A sphere with external pressure will buckle (dependent on its elastic modulus, not compressive strength) long before it reaches its ultimate compressive strength.

When the pressure is internal, it is under tensile stress which only has the one failure mode.