Buy a new house, it should fix it
Type defrag in windows search and trim ur hdd
hdd dying or it's infested with malware.
Do a malwarebytes scan
Don't be a loser buy defuser
Maybe it has some bad sectors or some shit,
You can try plugging cables to other slot(if u have one),or even better if u try this with new ones.
Formating is also they way that could help.
Are they both SATA drives? Are they both connected to the same controller chip? Some motherboards have extra SATA controllers for more ports, which can be buggy. Better use the intel/amd chip.
Also, try these commands in command prompt (admin):
chkdsk d: /r
where d: is the letter of the drive you want to check
then play it on SSD ez fix dont thank me
use HIREN and check your hdd there.