U.S. stocks and government bond yields rose Tuesday as investors parsed the latest round of earnings reports for signs that corporate profits are holding up despite inflation.

Analysts expect profits from big U.S. companies to keep growing this year even as costs rise. That has bolstered the bull case for equities at a time when investors are anxious over the Federal Reserve’s plans to raise interest rates to fight inflation.