Because parts wear out. You could try a new cable but it's more likely that the port has worn out. While the version of Android on that device is still supported to some extent (Play Services is still updated and it's still newer than the oldest OS developers are suggested to support) I'm not sure it's worth it to fix the device.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.