2002 Ford Expedition transmission

Why does my transmission slip backwards when my foot is off break on a hill

Because there is a fluid coupling called a torque converter between your engine and the transmission. Not enough power is passed to hold the car on the hill.