Hard drive failures can be classified into two broad categories: Logical Failures and Physical Failures.
In case of physical failure, you need to have a look at the hard drive to check whether it is damaged or the pins are bent/broken.
Next, see if the hard drive is making some unusual sounds when trying to spin the platters.