Just to clarify, are you running apps off an SD card plugged into the SD card reader expansion card? Or are you actually having trouble with a storage expansion card?
Storage cards disconnecting on windows is a known issue, that you might be able to fix by reformatting: 250GB storage module & windows - repeated "connect / disconnect" chimes
I don’t think the root cause is known, but there have been a few posts about it over the years