Why are the USB-C ports on my MacBook Pro losing their grip on cables?
If USB-C cables feel loose in your MacBook Pro, first clean the ports with compressed air. Then narrow it down: is it every port or just one, and one cable or all of them? A bent connector or port, or a cable yanked out at an angle, can cause it. If none of that helps, take the Mac to an Apple Store or Apple Authorized Service Provider.