US stocks flipped between small gains and losses following the opening bell on Tuesday after closing out their worst quarter in nearly three years, as traders await President Donald Trump’s next tariff deadline on Wednesday.