Gray boxes in your Media Library almost never mean lost files.
WordPress usually knows about the images. The browser can't reach them, the grid request is failing, the files were never catalogued, or your posts still hold old URLs.
Figure out WHICH problem you have first ↓
ALT Illustration of WordPress Media Library troubleshooting with broken image URLs