The Dow Jones Industrial Average struggled on Tuesday as flagging consumer confidence weighed on Wall Street sentiment.