When you take the cooked meat out of the oven, it will be hot and the natural juices will be flowing. If you cut into it immediately after removing it from the oven, those juices will run out and you will lose moisture. By letting the meat rest, you give the juices time to settle. The temperature cools a bit and that moisture stays with the meat improving the taste and tenderness of each bite.