As you use the hard drive, it heats up, and the metal parts expand. After so much expansion and contraction, eventually the parts like the disk head get expanded and out of their original position. Putting the drive in the freezer forces the mechanical parts back to their original positions where they will temporarily work.
Glad it worked out for you.