Rare but it could be hardware issue. Make sure that the back plate “clicked” properly to the main body.
Push under or around the back camera. First you’ll here the sound’s coming back then if you push harder you’ll ’’feel” that the plastic back plate clicks back and the sound now is fixed.
In case there is no changes for this push than it’s probably a software issue
I hope this helped