In that situation, the value of all cars went up, both new and used. The value of a used car was still much less than the value of a new car, you just didn't notice this because new cars didn't have their prices raised to correspond to the increased value.
That's not true, I could show you offers of my used truck being worth more than a brand new truck of the exact same generation of model in the exact same configuration. Used vehicle prices went insane during covid as the irrational market and places like Carvana paid more for your used car once it's off the lot.
I almost wonder if people overbought into the "new car must be more expensive" paradigm so they forgot new cars were competing against used cars, and the prices of used cars became irrationally high.
New cars did sort of have prices raised, because most of the incentive programs stopped. The 5-year zero interest financing, the thousands of dollars of rebates, the negotiating the dealer was willing to do, all ended. New cars sold at sticker price and there was no shortage of buyers.