Zombies are always controlled by an alpha zombie, shoot that one and all the others explode! The T-Virus and the Solanum Virus put large quantities of nitro glycerin in the victims' bloodstreams. This is my theory since in all the Resident Evil zombies, 9mm pistols and shovels cause zombies to explode ;D