TRIM is how Windows tells the SSD which sectors are safe to delete. HDDs can overwrite a 0 with a 1 or vice versa. So when they "delete" a file, they don't really erase it. They simply change the first byte of the file to indicate it's been deleted.
SSDs can't overwrite a 0 with a 1 or vice versa. They need in intermediate erase step. 0 -> erased -> 1, or 1 -> erased -> 0. This erase step is very slow (in some cases slower than a HDD). So SSDs will pre-erase deleted space during idle time. If they don't, their write speeds will plummet as they end up having to erase space just before writing new data.
Unfortunately, setting the first byte of a file to indicate it's been deleted is a filesystem-level operation. To the SSD it's...