In this position, Black's king can be trapped since it's the only piece that can move. Putting the rook on d5 cuts off the g5 square for the king and its only move is Kxh3. If White's first move was Rh8, then Kg5 and it walks around while White tries to win. Rd5 is the most efficient move.