imaanpreet,
Thank you for letting us know.
Just to confirm, does this happen with other sounds, such as notifications, or does it only happen with alarms?
Are Attention Aware features enabled on your device? If so, do you experience the same behavior when those features are off? You can find information about how to manage Attention Aware features here: Turn Attention Aware features on or off on your iPhone or iPad Pro
What are Attention Aware features?
Even if you don’t enroll in Face ID, the TrueDepth camera* intelligently activates to support Attention Aware features. With Attention Aware features, iPhone can check whether you’re paying attention to your device and automatically take action. For example,
• When you’re looking at your device, your display will not dim until you stop looking at your device.
• If you're looking at your device, it will lower the volume sound of your alerts.
If you don’t want to use these features, open the Settings app, tap Face ID & Passcode, then turn off Attention Aware Features.
Please also check out the "If the alarm volume is too low or quiet" part of this link for some additional information that may help: How to set and change alarms on your iPhone
If the alarm volume is too low or quiet
Do Not Disturb and the Ring/Silent switch don't affect the alarm sound. If you set your Ring/Silent switch to Silent or turn on Do Not Disturb, the alarm still sounds.
If you have an alarm that doesn't sound or is too quiet, or if your iPhone only vibrates, check the following:
• Set the volume on your iPhone. If your alarm volume is too low or too loud, press the volume button up or down to adjust it. You can also go to Settings > Sounds & Haptics and drag the slider under Ringer and Alerts.
• If your alarm only vibrates, make sure that your alarm sound isn't set to None. Open the Clock app, tap the Alarm tab, then tap Edit. Tap the alarm, then tap Sound and choose a Sound.
• If you connect headphones to your iPhone, the alarm plays at a set volume through the built-in speakers on your iPhone as well as wired and wireless headphones.
Manually adjusting the time on your iPhone in Settings to change app behavior, like game timers, isn't recommended and can affect alarms.
Thanks!