2010 Ford Escape, surging up hills

My 2010 ford escape with only 9k miles started to surge when traveling up hills at highway speeds. The RPMs would go up thne down and lose power. Taking it to the dealer tomorrow. Is it the tranny, speed sensor, or computer

Too many possibilities to pin it down. It’s probably in the fuel system. Water in the gas-low fuel pressure-plugged fuel filter. You might try shifting out of overdrive. Overdrive is not meant for towing or going uphill.