When one of my Pi’s works for a while and then suddenly goes deaf (temporally fixed with a reboot). It has (almost) always been due to the PSU going soft. The exceptions are the USB power cable causing a voltage drop. This can be fixed for a few weeks simply by unplugging and re-plugging both ends.
Are you using a phone charger? They are notorious for short lives when used like this.