Here’s what happened to the stock market on Tuesday

Traders booked profits from the major tech names and added to positions in the more beaten-down value stocks.