Alphabet shares rose nearly 6% in after-market trading on Tuesday.