Resting increases internal temperature. Immediately after you take the meat off the heat it'll have a cooler internal temperature than after five minutes of resting. The crust of the meat is much hotter than the core and heat moves from the outside to the inside during resting.