The phone is an iPhone 13 I used my genuine apple lighting cable. I tried different chargers and they all work with my iPhone 8. Is like he can only use the cable charger once and that's it. When I first started charging his phone it was working fine once I unplugged it and plugged it back in it did not charge. I then started charging my iPhone 8 with no problem.
This, its amazing how much stuff ends up in there and then gets compressed in with the cables being plugged in. Back in my iPhone 5 days i was very close to taking it back to Apple to see if they could fix an issue when someone suggested i give it a clean. Dragged out loads of stuff and worked fine after that. Since then i've occasionally cleaned out the port on phones and done it for others having issues.