If the USB-C port on your Galaxy S25 suddenly stops charging reliably, will not detect wired accessories, or keeps disconnecting after an update, the problem is usually tied to a charging settings ...
Modern Type-C cables require active chips in short lengths to get full speed and feature set.