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

IME dying phone batteries appear to charge faster (judging by percent or app) all else being equal - because the overall capacity is lower. But it sounds like OP is actually.measuringnit with one of those usb charge speed meters