Mayonnaise curdles when lemon juice is added too quickly because the rapid introduction of acid destabilizes the emulsion, causing the oil and water to separate. Emulsification requires slow addition and thorough mixing.
Mayonnaise is an emulsion, a mixture of two liquids that don't normally combine: oil and water (in the form of lemon juice or vinegar). To create a stable emulsion, you need an emulsifier, which in mayonnaise is typically egg yolk. The egg yolk contains lecithin, a phospholipid molecule that has both water-loving (hydrophilic) and oil-loving (hydrophobic) parts.
When making mayonnaise, the oil is slowly whisked into the egg yolk, creating tiny droplets of oil suspended in the water-based lemon juice. The lecithin molecules surround these oil droplets, preventing them from coalescing back into a separate oil layer.
Adding lemon juice too quickly disrupts this delicate balance. The sudden influx of acid overwhelms the emulsifying capacity of the egg yolk. The acid can cause the proteins in the egg yolk to denature and lose their ability to stabilize the emulsion. This leads to the oil molecules clumping together and separating from the water, resulting in a curdled or 'broken' mayonnaise.
If your mayonnaise curdles, you can often rescue it! In a clean bowl, whisk a tablespoon of warm water or an additional egg yolk. Then, very slowly, drizzle the curdled mayonnaise into the water or yolk while whisking constantly. The slow addition and vigorous whisking can re-emulsify the mixture.