On a journey, going to fetch water can sometimes result in losing the caravan. A view attributed to Abu Yusuf allows tayammum when seeking water would cause the caravan to disappear from sight.
The consideration is not distance alone, but a real travel-related danger or impediment.