Prices shot up during the pandemic and never really went back down. You're lucky to find a good carbon bike for under $4K these days where you used to be able to find them for $2K.
Everyone's in oversupply now, inventory is listed at steep discounts to 2022-2023 prices.
This bike isn't even on sale and it's under $4k and not a bad bike: https://www.giant-bicycles.com/us/tcr-advanced-2-pc-2025