The process of determining real degradation in medicines is too long and expensive. Therefore, the drug companies check them for a period and, if they’re good, put that period of effectiveness on them. But you can’t depend on their having a longer life. Some expired drugs will kill you.
I think they sell more drugs if they have a short expiration date.