To reveal the differences in the failure characteristics and mechanisms between rockburst and spalling failure, the comparison experiment between spalling failure and rockburst occurred in a circular cavity were carried out. Experiment results reveal that rockburst is accompanied by the intense ejection of fragments, whereas spalling failure features with the slow detachment of fragments. Additionally, besides the plate and flaky fragment, the rockburst fragment exhibits more pronounced blocky features. In terms of strength and deformation characteristics, the peak stress for rockburst is 1.04 times that of spalling failure, whereas the plastic deformation of spalling failure is 1.75 times that of rockburst. Furthermore, considering the micro failure and energy evolution process, three interpretations were proposed to elucidate the distinct mechanisms between rockburst and spalling failure, including: (i) The swift invasion of shear cracks triggers the buckling failure of pre-existing plate-like fractures, causing the fragment ejection observed in rockburst. When shear cracks not substantially contribute to the evolutionary process, the continuous penetrating of the pre-existing tensile cracks will culminate in the gradual delamination and spalling failure of the sidewall. (ii) The energy dissipating behavior determines the distinct mechanisms of rockburst and spalling failure. Almost all of the energy input preceding rockburst is converted into the elastic strain energy of rock units, whereas the energy input preceding spalling failure results in greater energy dissipation (about 1.85 times that of rockburst). (iii) under the framework of Mohr-Coulomb strength criterion, it has been revealed that the rock units of spalling failure adhere to the minimum failure energy criterion. However, the energy accumulated by the rock units prior to rockburst surpasses the minimum energy necessary for failure. This residual energy provides the fractured rock mass with kinetic energy, ultimately leading to a violent ejection phenomenon of rockburst.