Depending on the interpretation of your question, there are two answers.
- Definition. If another leg was longer, it would be called the hypotenuse.
- If the hypotenuse were shorter than one of the legs forming the right angle, the hypotenuse would not be long enough to reach the other leg, and therefore not be a triangle at all.