"Just imagine the kinetic energy a giant hydrogen bomb would do." Not necessarily. Some speculate that it might just blow the asteroid apart, and gravity would bring it back together again, with little disruption of the path.
.. or that asteroid slug that might've missed turns into a buckshot asteroid that doesn't ;-)