This is more expensive too (eg there are generally chips in the plugs at either end to handle attenuation).
But there's obviously a use case for cables longer than that.
It is true that we have cables that support data but not power and power but not data or data at different bandwidths and so on. It's a mess. But it's not a case of simply choosing not to support optional features.
[1] For the longest time, this was the only cable to do it all. I think more are available now, but they're still very much non-affordable.
There are three alternatives: one cable type that does everything and is easy to use (but gets expensive quickly as it gets longer), multiple cable types that each do somewhat different things but use identical connectors, or multiple cable types that each do somewhat different things and use different connectors. The USB-IF went with the "multiple cable types, identical connectors" option, which is cheap but extremely confusing. The "multiple cable types, multiple connectors" is what USB was created to avoid. So the only remaining option to remove confusion is to have expensive cables.
Here are 10 different cables, you must accurately describe each of their features in detail (USB speeds, charging speeds/power delivery, video out? What version of Display Port does it support?). Make one mistake and you'll be executed.
Obviously I don't advocate for that but it's damn annoying you can have one cable do so many different things and not know by looking at it. At least USB 3 was often times blue to offer a distinction.
These days I plug in a cable and prey it functions as advertised (sometimes it's 50/50).
Awful mess.