Protein denaturation and coagulation sets eggs
Egg proteins are folded chains held in shape by weak bonds; heat, acid, salt, or mechanical agitation unfolds them, exposing sites that bond to neighboring proteins into a continuous network that traps water and turns liquid to solid. Different egg proteins unfold at different temperatures (roughly 62°C for some white proteins, 65–70°C for yolk, 80°C for ovalbumin), so precise temperature control determines texture. Overheating tightens the network so far that it squeezes out water, producing rubbery whites and curdled custards.