The can was placed on the hot stove top burner for several minutes.
Based on the steps performed in the laboratory, it can be concluded that when applying the thermal dynamic and with the water vapor, a phase change from gaseous to liquid state occurs. The density of liquid water changes drastically. And by heating the can only with air, the molecules are stirred more and the internal pressure increases, so that part of the air leaves until the inner pressure is balanced with the outside (atmospheric). By cooling the can, the air molecules are stirred less strongly and the internal pressure decreases, but not enough so that the atmospheric pressure can crush it, also taking into account that the can is open.