Julie Bang / Investopedia The tech stocks that powered market gains in the first six months of the year stumbled in July, while small-caps surged as expectations for interest rate cuts increased.