By landing mostly upright, the frogs spread out the hitting force so it doesn't hurt them as much. This helps them survive in real forests where branches can be any size or shape.
Science taught me something today. Tree frogs might be the best athletes on the planet, pound for pound. Look. I know that sounds stupid. They can't windmill a basketball at 40 years old like LeBron ...