Q: What if this bomb was exploded below the ground, and not above?
https://www.military.com/video/nuclear-bombs/nuclear-weapons...
A few ten megaton bomb would create a very small earthquake, quite probably only detectable by instruments. You'd need to wade into millions-ten of millions of megatons to create an extinction event.