Automatic transmissions operate on hydraulic pressure.
The governor is the main player in upshift timing.
Governor pressure "makes" the upshift.
Governor pressure is proportional to road speed.
Governor pressure starts at "0" at a stand-still, and increases at approx 1 psi per mph.
30 mph = approx 30 psi gov pressure.
60 mph = approx 60 psi gov pressure..... etc....
.....up to the maximum value which is determined by trans mainline pressure.
Throttle pressure (modulator) "delays" the upshift, as does kick down pressure.
Step harder on the gas = more throttle pressure and ... upshifts are "delayed",ie: shifts occur at higher road speed.
Floor the gas and KD pressure comes into play, "adding to" throttle pressure, causing even later shifts (or kickdown depending on "when" the throttle is floored).
But eventually, even with maximum throttle pressure "and" kickdown pressure,
the governor pressure (road speed increases, so too gov pressure) will eventually overcome both KD and Throttle pressure to cause the trans to shift to the next gear.
This is all assuming a "properly" working transmission, AND all adjustments are correct, AND engine tune is correct.
Gear ratio and tire size also come into play.
Change anything, (gear ratio or tire size) or malfunctions (vacuum leaks,engine tune, adjustments) to any of the above can cause incorrect or undesired shift timing.
You can tell when things are "not right" when the trans does not react properly to how hard (or soft) you step on the gas.
The above description of the various pressures is a simplified version of how these things work.