Why do USB cables lose the ability to charge quickly over time?

Noobian:
I once had a cheap powerbank which damaged all of my micro usb cables.

That's interesting. Exactly what damage did it cause to the cables that made them charge slower?

I can imagine a bad powerbank damaging batteries but I can't work out how it's possible to damage a cable so that it still works but not as fast.

Steve