NVMe enclosures don't seem to work with my Mac mini M4 Thunderbolt ports and I'm at a loss
Under Windows and Linux, and when using the front ports of my Mac mini, the enclosures work perfectly fine. I've tried UGREEN CM400 and the ORICO PWM2-G2 and both deliver the same kind of problems under macOS. On Windows and Linux they both excel, I tried sending over 40GB of data in multiple files at once, one large 10GB files back and forth, no problem under Windows or Linux, or when I'm connecting them to the front. But when I try and connect them to the actual Thunderbolt 4 ports, oh god, it takes an ungodly amount of time to even mount the thing! It gets very hot even when idling really quickly. Formatting it to APFS takes minutes, if it'll format at all. When it does successfully get formatted and I try to copy something over, I'll get a number of different errors. I'm trying it all out again as I'm typing, now I got a new error about device disappearing. Disk Utility is empty. Upon reconnecting and trying to reformat, some weird -69825 error pops up, sometimes error 43. Sometimes it just doesn't connect at all and I gotta reboot the Mac. Sometimes it'll say the disk is not readable by my computer, when that pops up and I try to connect it to the front, everything works just fine, the files are there, nothing's corrupted. I tried out two different NVMe SSDs, 2TB XPG and a 2TB Lexar, both yield same results.. I really don't know what to do anymore. Are my Thunderbolt ports faulty? Should I send the Mac back to Apple?
Mac mini, macOS 15.1