Because the basket of goods for inflation doesn't separate optional from mandatory consumption.
If housing, healthcare and education are outpacing the topline inflation number, a lot of marginal families will be squeezed. The cheap LG TV doesn't really make up for it.
Nevertheless if you lump those costs into an inflation number it won't be a lot higher, the Total Living Cost calculated for 2023-2024 showed 4.4% inflation vs 3% CPI. There are a lot of ways to slice and dice this, which is why people stick to the classic CPI.