By default, the side volume buttons do not control the ringer and the alarm volume. If you prefer to control the alarm volume using the volume buttons, enable the “Change with Buttons” options from the “Ringer and Alerts” settings.