Why prediction systems fail on deployment
A recurring pattern in applied machine learning: a model performs well in validation and degrades badly in deployment, in ways that seem unrelated to overfitting.
A frequent explanation is that the model learned an association that was not causal, and the association did not survive the change of setting.
The standard illustration is a classifier distinguishing cows from camels which, having only ever seen cows on grass and camels on sand, has largely learned to classify background. It is not broken as a predictor. Within the training distribution the background is genuinely informative, and the model correctly exploited it.
The problem is that the relationship between background and animal is not a stable mechanism. It is an artefact of how the photographs were collected, and it changes when the collection process changes.
Causal relationships behave differently, and this is the property that makes them worth pursuing. The mechanism relating a shape to its label is invariant across settings; the correlation between background and label is not.
So a system relying on causal structure should degrade more gracefully under distribution shift than one exploiting whatever correlations happened to be strongest.

