When remapped, you can get an extra squirt of fuel into the cylinder before the outlet valve closes, unburnt fuel goes into the exhaust, heats up, goes pop.
Used to risk shattering the CAT in older vehicles, not sure if it still does. Seems a strange waste of fuel to me and my engineering brain.