Try another cable and or different connections on the motherboard. Best to rule out all the possible causes outside of the drive. Diagnosing hardware problems is usually a process of elimination.
Sometimes even just disconnecting and replugging the cable can help. It just takes some time to figure out what the cause is. Hopefully you have a spare cable to make it crystal clear what the culprit is.