iOS allows you to limit the maximum volume of your iPhone and iPad’s built-in speaker to protect your hearing while listening to music, watching movies, and more. You can turn it on or off in Settings, as shown below.
How to limit the max volume of iPhone or iPad speaker