That's solved by a simple format, but isn't the concern of secure erasure with regards to physical storage media.
The problem on hard drives is that magnetic fields aren't digital, they're analog.
Let's say we want to change a 1 to a 0. You apply an opposite field, and it really becomes 0.4. It's less than 0.5, so it LOOKS like a 0. If you write 0 again, it becomes 0.2.
So let's say you erase a file by writing zeroes to the data once over. Someone could still see the small differences and recover the file.
This example is overly simplified.
I don't know for sure, but I think SSD drives have the same level of security as magnetic hard drives. People can recover data off your computer RAM, which is much more volatile, so pulling data from something that you hardly change seems easier.