As an egg heats, its proteins unfold and link together, turning liquid into a set gel. The white sets before the yolk, which is why timing changes the result so dramatically.
A few minutes separates a runny yolk from a firm one. Starting timing from a gentle simmer and cooling quickly gives you consistent, repeatable results.
The takeaway
Control temperature and time and you control the egg. A minute either way changes everything.