Why it happens
When egg whites are whisked, their proteins unfold and form a network around air bubbles, which creates a stable foam. Fat stops this happening, because it gets in the way of the proteins linking together. Even a trace of egg yolk, a greasy bowl or whisk, or a plastic bowl that holds on to grease can stop the whites from whipping. An acid such as cream of tartar or lemon juice helps strengthen the foam and makes it more stable.