In trying to fix my phone doing this, I went to the alarm and tried to change the sound for it and found that my clock app didn't have access to sounds, media, etc. After giving access I set an alarm to test and it went off fine (though quieter than I'd like).