The consumer staples sector, as measured by the XLP ETF, rallied in the pre-market session following the release of September's Consumer Price Index (CPI) data. The report revealed that both headline and core inflation were higher than economists had forecast. This unexpected rise in inflation prompted a defensive rotation among investors, who moved capital into sectors perceived as more resilient during times of economic uncertainty and potential interest rate hikes. Consumer staples are often considered a safe-haven sector due to the consistent demand for their products regardless of the economic climate.