Residual plot question

In residual plot why does predicted value plotted on x axis rather than observed Y.
image