The rationale is that if you had earned the wages, you would have paid tax on it anyway.
On the other hand if the settlement was for physical injury, then the money only helps restore you to where you were before the accident occurred. So theoretically, you gained nothing.