iPhone alarm doesn't go off sometimes!
This could have to do with a software issue on the phone. Try backing up your phone via iCloud or computer, then wipe and restore it as new. If it doesn’t fix the problem, take your device to Apple as it could be an internal hardware issue.