Combustion converts fewer than fifty percent the mass of gunpowder to gasoline; the vast majority of it turns into particulate make a difference. Some of it can be ejected, losing propelling power, fouling the air, and usually being a nuisance (giving away a soldier's placement, building fog that hinders eyesight, https://greatgotfirearms.com/product-category/black-powder/