The reason for this is the cake is too delicate when it first comes out of the oven. Giving it time to sit will help it to have a little more structural strength and ensure those intricate details from the pan don't get lost or stuck. Don't leave it in too long though, you'll want to remove it while it's still a little warm.