Your king is cut off along a rank by that rook, but look closer. You stand one rank ahead of the pawn, not level with it, and that single rank turns the cut from deadly into harmless. Grab the file right next to the pawn and the draw is yours.