The, Dow, S&P 500, and Nasdaq fell for a fourth straight day as the stock market closed out a strong year on a weak note.