The quick answer
An alarm that only vibrates almost always has its Sound set to None: Apple's own fix is to edit the alarm and choose a sound (Apple Support). Silent mode, the Ring/Silent switch and Do Not Disturb are not the problem, because they do not affect the alarm sound (Apple Support).
7 fixes, in order
- Check the Sound of that alarm. Clock > Alarms > Edit > tap the alarm > Sound. If it says None, pick a ringtone. Each alarm has its own sound.
- Raise the volume. Settings > Sounds & Haptics > Ringtone and Alerts. At the far left the alarm is nearly inaudible.
- Disconnect headphones and Bluetooth speakers. With headphones connected the alarm plays at a set volume through them and the speaker {c('apple_alarm')}.
- Check the song. A song removed from your library or not downloaded can fail; switch to a built-in ringtone to test.
- Know what StandBy changes. In StandBy, alarm haptics are disabled {c('apple_alarm')}, so a muted sound leaves you with nothing.
- Do not change the clock by hand. Apple warns that manually changing the time in Settings can affect alarms {c('apple_alarm')}.
- Restart, update and test. Restart the iPhone, install any iOS update, then set a test alarm two minutes ahead.
If it still only vibrates
Delete the alarm and create a new one: swipe left over it and tap Delete (Apple Support), then add it again with a built-in tone. If no alarm ever plays sound but music does, the speaker works and the issue is a setting; if music is silent too, contact Apple Support.
A backup alarm for important mornings
Sunrise works as a second alarm with its own loud sounds and gradual volume, and it only stops after a math or steps mission, so you are awake when it goes quiet. It works offline and needs no account.