There's nothing magical about it... With a manual, there are two free parameters: Engine speed and its coupling to the wheels. With an automatic transmission, only the engine speed can be controlled by the driver.
Computers have gotten better at managing the coupling sensibly, but they still are not perfect at predicting drivers' future intentions.