We Would Never Be Able to Blow Up an Asteroid to Save the Planet
livescience.com
livescience.com
That's not the same as being unable to blow up an asteroid to save the planet - you just need a more energy to also destroy the core, or followup to scatter debris and overcome gravity, etc.
At the energy levels required it's probably easier to just move the asteroid off of a collision course, so even an advanced enough civilization to blow up an asteroid probably wouldn't. They shift its course, or trap it and mine it, etc. But that isn't the same thing as never being able to do it. There's nothing special about asteroids that make them impervious to explosions.
Now can we deliver that much energy? I don't know or would have to crunch the numbers to know.