Earlier quoted context omitted.
This is really only a problem if you buy cheap cables. Pick the baseline spec you want your USB cables to meet, and throw out all the ones that don’t. Problem solved. It’s still a minor frustration if you have to borrow a cable, but that’s solved by packing a cable, and by encouraging as many other people as possible to also throw out their cheap cables.
Sometimes it's not the cable. Sometimes it's the sodding device. I have some IP60-something speakers for the shower. Write up says USB-C power. Brilliant says I, I've got plenty of good ones I use for charging laptops and other USB-C form factor accepting devices. Sodding things only charge with their special USB-A to USB-C cable. They're in the bag labeled "cursed usb-c charge cables".
Thankfully this defect is becoming less common outside of temu junk.