Both CPUs will work with DDR5 should you ever want that in the future, but backwards compatibility with DDR4 is the reason demand is up. If you search Amazon for "LGA 1700 DDR4 motherboard" you'll still find a ton of cheap options.
Update: a 14600k costs over $300 now. This is a processor that debuted over three years ago. 12th gens are getting EOL'd now too, just as DDR5 prices moon lmao. Snag a 12600k before it's too late.