NEW YORK— U.S. stocks declined Tuesday as big technology companies and smaller firms gave up some of their recent gains. Stocks hit record highs over the...