How do some phone chargers raise their output voltage when loaded?
They use a chip like this one: -



It uses an internal current monitor to adjust the target output voltage: -



There are many ways to skin a cat and this is just one of them. Others can look at the rate of discharge of the output capacitor to estimate output current and make an adjustment.