123...,
It's not how much energy is in the powder so much as how it's released. Detonation, explosion, deflagration, whichever it is, it happens very quickly, at least faster than the bullet can move (inertia) and make enough space to control the evolving gas.