It is a common principle that if you pour water on the ground, it will follow the path of least resistence. The same is true of a ball rolling down a hill or a novice skier trying to get to the bottom of the mountain. In other words, these objects are traveling in the direction of steepest descent. This is a common principle that can be generalized to many physical situations and optimization problems.