Since the connection between your Mac and external hard drives relies on cables, loose connections could be the cause that your external hard drive is not recognized by your Mac computer. Read more about Mounting a disk How to fix external hard drive not mounting in macOS Catalina/Mojave issue? Solution 1: Check if the hard drive is properly plugged in.
How to recover lost data if Mac won't boot after Mojave update?