It's not you, it's Apple (probably).
Sometimes your phone’s USB port just needs a little spring cleaning.