Sandisk Extreme 120gb SSD unrecognised by computer.

I’ve double checked all the connections and everything’s fine. Today I put it in a USB enclosed on another computer and managed to successfully format it. Does definitely seem to be working fine, so why won’t my computer see it?