Do you by any chance have the iPhone X and are you looking at the phone as the alarm rings? If so, that's on account of the FaceID sensor "sensing" you are looking at the phone and deciding not to blast your ears off at close range. Attention awareness, I think it's called.
If that's not the case, then sorry, your guess is as good as mine.