After moving sharply higher at the start of trading on Tuesday, stocks erased the early gains over the course of the session before closing notably lower. The pullback on the day extended the sell-off seen in recent sessions.