One of the USB-C ports on my work laptop recently failed but the machine still charged from the other one.
Was going by this [1] which seems to show that if one of the charging ICs goes bad it can cause the rest not to work. This is probably one of many failure mechanisms.