The 2 events surpassed the design parameters of the plant.
The containment vessel/building is 3rd part of a reactor’s defense in depth. The first is the fuel rod cladding, then the reactor pressure vessel, then the containment building.
It is the reactor pressure vessel’s integrity that would be of most concern as it holds the fuel rods, which have melted to varying degrees.