It does it by carrying on injecting fuel with no throttle but no spark thus unburnt fuel get into the exhaust and gets the fuel hot then will ignite with the oxygen at the end, it's not running rich, it is just injecting fuel with no throttle which generally fuel injected cars don't do. With no throttle they use no fuel as they rely on the gearbox to keep them turning until it gets down to idle speeds (to improve fuel economy), If anything it will probably just be injecting small amounts of fuel (lean for the revs the engine will be at) to create the pops, letting the exhaust burn it instead of the plugs.