Retarding the timing sometimes reduces the temperature inside the chamber as the gas will mostly burn outside and therefore would reduce the NO and maybe other things.

that is what EGR does(reducing temp)