Your rook is facing a passed pawn three squares from promotion, but the pawn's own king is planted right in front of it. Take the queening square, check to gain time, and walk your king in. Cutting the defending king off works when it is separated from its pawn; here it is not.