Stocks struggled as the latest tariff news spurred caution among traders who are also looking ahead to testimony from Federal Reserve Chair Jerome Powell and key US inflation data.