Small-cap stocks are struggling due to higher interest rates and a market preference for artificial intelligence stocks.