Right, but financial markets are forward-looking (or "leading economic indicators"). They don't encode the current state, they encode a consensus prediction for some time period in the future. In this case, the stock market is pricing in a sharp downturn in profits (and margins) over at least the next few quarters, and I don't believe it's even finished.