The rook is attacked and may not move away because it would leave Black in check. After capturing the rook, White will then have the winning plan of advancing the pawn to a8 (supported by the King and Bishop). It will promote to a Queen and then round up Black's king for a checkmate.

Next screen