How Earnings Shape Market Sentiment