The complexity isn't even in the connector, it's in the insanity of the protocols used for negotiation. There's multiple protocols, over two different physical links, implementing what amounts to a network with negotiation between source and sink devices. You're supposed to be able to do things like connect two devices to a charger and have the devices dynamically work out how much power they can use, but I doubt anybody has ever completed support for any of it. The differing support for the protocols results in constant mysteries of "why isn't this charging", even with a cable analyzer and an inline protocol analyzer I'm often left head scratching.
> You're supposed to be able to do things like connect two devices to a charger and have the devices dynamically work out how much power they can use, but I doubt anybody has ever completed support for any of it.
You can buy an off the shelf solution for this. Several IC vendors sell auto-negotiating power sharing USB-PD source controllers. It's not that hard to implement and it's a feature you never notice when it works correctly.
Mainly this shows up in power banks and higher end AC adapters.
It's complex because it's "Universal", they have to design so that it fits in almost every usecase, from $1 toys, to thousands-dollar high end laptop.
This is called "design by committee" btw, the inevitable result of trying to make a product do everything. Good designs know what's in scope and what's out of scope and they aggressively prune extra use cases that would make the main ones more complicated.
> constant mysteries of "why isn't this charging"
Also, which device is responsible for what. I have a nice chunky battery that I sometimes charge my phone from while away from power. It it runs out of juice during this, it stops, comes back to life because the phone sees a device in its port and advertises itself as a potential power source, then the phone proceeds to drain power back into the external battery.