What operating system are you on? When I upgraded from Big Sur to Monterey (also on an Intel Air) all my Western Digital external drives stopped working. They would randomly unmount making them unusable.
I tested them out on a different Mac running an older OS and they still worked fine. Annoyingly, as a result I had to do a major roll back to Big Sur (basically a factory reset as you can't go back as easily as forwards with OS) and guess what? The drives all started working absolutely fine again.
I won't be upgrading again from Big Sur. I posted in another thread about this as there were some other people having drive problems on Monterey, but the number of people affected seems small. It may well be a specific bug related to Monterey and these drives. It's also stopped me buying a new M1/M2 Air because I can't afford to do that and also change all my external drives in case they don't work.
My Samsung T7 SSD was not affected, for general info.