I would guess complications from an infection would be more likely than anything given how soon he died after being wounded. Civil War era military hospitals were anything but clean. The wonder is not that so many people died of wounds, it is that so many survived the treatment they received in such facilities.