What's happening is that people are seeing more value out of bigger and more expensive cars, so there is a preferences shift happening.
Also, think of inflation. 22 years ago I bought a new Honda Civic EX with manual transmission for 18K, which would be around 30K today. This car would be unthinkable in today's market - barebones radio, stick shift, no camera, no screen and noisy engine. If you have the Crosstrek example in mind, cars are actually getting cheaper, at least in terms of cost-benefit (like computers got cheaper as technology improved).