That’s not really why. You can force their hand, which the government continually does by upping the fuel efficiency standards, but at the end of the day it’s the consumers choice in what they buy. A 2022 Corolla Hybrid is $24k and makes 52 mpg city AND highway. The Maverick is a basic FWD truck. In today’s market that only goes so far. People wanted the niceness of a loaded Camry and the functionality of a full size pickup, hence why you have +$60k trucks with leather interiors.
My 04 Corolla was spartan in comparison to a model almost 20 years newer. There are some power options missing from the lower models, but mine didn’t even have ABS, much less any active avoidance systems. The days of cheap and efficient are long dead.