A common explanation is that there's easy ways to ward against guns. But now we're just doing Rowling's job for her. Honestly, probably better than letting her do it.
Considering the original meaning of “hit points” referring to how many shells a given ship could take before sinking, 12hp out of a basic spell is still pretty impressive.