knock happens when the ignition is too advanced (sparking too early in the stroke) or fuel too lean for running conditions, also known as detonation or is det a worse form?..lol
retarding the timeing brings the spark closer to TDC (sparks later in the stroke).