Enable UASP (USB Attached SCSI Protocol). Some links indicate it is built and you can check if it is activated by checking System Report > Software > Extensions > IOUSBAttachedSCSI. But I have never seen it on my machines.
My 2TB WD My Passport SSD supports it though WD own utilities.But only HFS+ or exfat and keep it as single partition IIRC. Best to format through the WD utility to be sure. It is still possible to toggle the UASP switch on APFS formatted drive, but file operations become unusably slow.
I ended up buying an nvme adapter and upgrading the internal ssd on my old MBA, because connection was unstable, when having it permanently attached as intended. That solved stability and trim with APFS. Now I just need to find a new purpose for my 2TB external ssd.