Try booting into Safe Mode and see if the volume still drops to zero on its own there.
If it stops happening in Safe Mode, that confirms it’s a third-party app or driver causing it.
If it still happens even in Safe Mode, that points more toward a stuck physical key or a hardware issue.
Here’s Microsoft’s official guide on how to boot into Safe Mode:
https://support.microsoft.com/en-us/windows/experience/startup-boot/windows-startup-settings