The RTH is assumingly set on the batt calculation and distance
You where to close to Home, to get a RTH because of battery %
The auto landing kicks in, as soon the batt voltage is to low, to make it back.
Which happens,surprisingly, in case the cells voltage drop unexpected