USB-C Power Delivery is pretty complex as the spec allows for
multiple voltages with varying amounts of power delivery
depending on the voltage.
It would have been much simpler if the USB-C PD spec said
that you can only deliver one voltage with some max capability.
Instead, the powers that be in industry decided that the USB-C connector
was to be a jack of all trades interface and obviously based on all
the USB-C based issues on all computers and devices (not just Apple
products) the master of none and even a demon. This is the result
of when specialization gives way to generalization.