Thanks for your reply, Eric!
While waiting, I worked with Claude to create an alternative, which successfully defragged a file on an exFAT-formatted USB SSD.
You were right about the USB SSD being identified as "Fixed" rather than "Removable" like the SD card:
% diskutil info /dev/disk4...