The Precise Science of Boiling Eggs
Boiling an egg is actually a complex chemistry experiment involving protein transformation. By controlling temperature, you manipulate how tightly proteins bond to change texture from liquid to solid.
When you apply heat, the proteins in the egg white uncoil and bond together, creating a solid gel structure. If you stop the heat early, the yolk stays runny because its proteins require higher temperatures to set than the whites. This is why you can achieve a perfect contrast between a firm exterior and a velvety center. Even minor timing shifts create vastly different culinary results for the same simple ingredient.
Source: Boiled egg