What you describe would be a broken charger, not a broken cable.
The charger is supposed to interrogate the cable and only offer 5A if a) the cable responds and b) responds with a 5A capability.
The charger is supposed to interrogate the cable and only offer 5A if a) the cable responds and b) responds with a 5A capability.