Toyota tundra hesitates under load

My 01 tundra will bog down when I’m hauling a trailer up a hill. Toward the top of the hill I can watch the speedometer just steadily fall along with the rpms. If I feather the pedal it can sometimes recover. Sometimes I have to actually pull over and stop.