Imported from the Apple Support Forums via the Wayback Machine 🔗
That's because you have the attention awareness feature turned on and are looking at the phone. There is no need for a loud ring when the phone knows you're looking at it...
If you don't like the way it behaves, turn off the attention awareness in settings.