Tech leads US stocks higher as investors digest earnings results