U.S. stocks are rising Tuesday after more companies said they made bigger profits at the end of last year than analysts expected.