Question – Booting problem

My hard drive have clicking sound and now is not recognized in bios but i also have ssd installed with w11 and cannot boot from it but its detected and hard drive have w10 dual boot my question is why i cant boot from ssd which is working fine its not detected in bios but its detected by pc when i inserted bootable usb i can see my ssd when try to install windows.
Sorry for my bad english