The Dorchester County Coroner's office said the man died from massive head injuries after a firework on top of his head exploded.