Lightning isn’t that much better though. You can get lightning to USB-C cables so you can plug into various bad devices and have other USB-C problems, though you likely won’t try to plug into a monitor for example.
There’s maybe an argument to be made about the ports too. I think it would be harder to clean dust/fluff out of a USB-C port and maybe they could be more fragile too because of the spike in the middle of the port.
It still seems to me like Apple probably also like that they have a lot more control over lightning. And they already have USB-C on iPads and computers so they clearly don’t think it is totally terrible. But there are a lot more iPhones in the world than other Apple devices and I can imagine eg Apple having to spend a load of money on customer support, etc, due to the USB-C issues, or getting blamed when things go wrong because of the cable or device on the other end.
I think it would be better if the possibility of connecting two devices with a cable implied that they would work together, but I’m not sure how that could be done without either more ports or more expensive cables/charging bricks. And I don’t know why a USB-like organisation would have more success at ensuring things follow the standards than USB currently have.