They test how it degrades under stress to determine a maximum viability under perfectly stable conditions. They are not accounting for the typical medicine storage places: a bathroom cabinet where the temperature and humidity will vary wildly within a matter of minutes, a cool, damp fridge, or even the reading table next to your bed-- constantly exposed to UV light from the windows.
I'm relaying this secondhand from a former FDA contractor, but I can only surmise that for a company with the litagative risk level that any pharmaceutical entity incurs, the old adage of "Better Safe Than Sorry" is a major part of the story that's missing here.