The major averages pulled back on Tuesday as investors prepared for key earnings.