How does retarding timing prevent knock?

Posted by Anachronism--@reddit | askcarguys | View on Reddit | 13 comments

Most of us know knock is caused when the fuel ignites before the spark plug fires. And the solution is to delay when the spark plug fires.

Except if the fuel is already igniting without the spark plug then how does delaying when it fires help?