Bending your knees allows you to spread the landing out over a longer distance, which in turn lessens the impact.