U.S. stocks were higher on Tuesday, while oil prices slid as traders reacted to a number of solid earnings results.