My guess is that it has a small internal diode from output to input.
As you connect voltage to the output, the diode conducts it onto the input. Then, if the regulator is enabled and the voltage on the input actually becomes high enough to operate the regulator, the error amp sees the voltage is too low and fully turns on the internal FET. This allows any voltage present on the output to feed back through to the input, as long as the voltage is lower than the normal regulated voltage. In other words, the circuitry inside the regulator is all operational the same way it would be if the (too low) voltage was applied to the input. The only difference is that the input voltage is actually coming from the output, through the FET. But the regulator doesn't know that. If you were to raise the output voltage higher than the regulation point, the FET would turn off and you'd see the diode drop, and be unable to drive very much load off the input without burning out the internal diode.
This is all conjecture. Everyone please let us know if you have a different guess or knowledge of what actually happens when voltage is fed to the output of this regulator.