It might also be related to the peak-end rule[1]. The most intense feeling of a hike can come in many places, probably at the end if the goal is to get somewhere in particular or to complete a specific goal. Although it might be mostly bad/hard, you remember the end (satisfying) and the peak emotion which is the good feeling.