So, I noticed this yesterday when I lost 240GBs of data 
An external M2 enclosure with a JMicron JMS583 controller is _not_ considered "Solid State" by Ventura, but on all older versions of macOS.
This means, as soon as the disk has been connected to a mac running Ventura, the filesystem is botched, if formatted to APFS.
It will probably read once on Ventura, but ejecting and inserting gives a more or less blank disk and Disk Utility will just say it is beyond repair.
Formatting it on Ventura and only running it on Ventura works fine, and also using it only on older macOS works fine.
There is something in APFS that differs between disks makred as "Solid State" or not. So, APFS behaves differently and therefore mangles the filesystem.
I tried updating the firmware of the controller, but it made no difference.
An external M2 enclosure with a JMicron JMS583 controller is _not_ considered "Solid State" by Ventura, but on all older versions of macOS.
This means, as soon as the disk has been connected to a mac running Ventura, the filesystem is botched, if formatted to APFS.
It will probably read once on Ventura, but ejecting and inserting gives a more or less blank disk and Disk Utility will just say it is beyond repair.
Formatting it on Ventura and only running it on Ventura works fine, and also using it only on older macOS works fine.
There is something in APFS that differs between disks makred as "Solid State" or not. So, APFS behaves differently and therefore mangles the filesystem.
I tried updating the firmware of the controller, but it made no difference.