This happened to me with a samsung t7 and my MBP. In the end it was a bad usb-c cable.
At some point I kept plugging it my Macs and sometimes it would go slow speed USB, and sometimes it would go to 10. I was plugging it into a CalDigit/OWC hub (depending on the Mac) and directly to the machine.
After realizing what was happening I just picked up a 20gbps (or 40, I can't remember) cable off of amazon and the problem went away.