Here’s what happened to the stock market on Tuesday

[unable to retrieve full-text content]A late-day sell-off in tech shares dragged the S&P 500 into the red after it came within inches of its late-February all-time high.