A meteor that exploded off the coast of Massachusetts set off a loud boom equivalent to 300 tons of TNT, NASA said.