The same thing that happens when a plane or a bird flies over a valley.
Your drone is a flying machine, not a following terrain machine.
Your drone has no way to tell whether the ground below is 10 feet below or 10,000 feet below.
It matters not whether the relative height is positive or negative.