In DJI Fly on the Mini 2, H is a height readout relative to the takeoff reference, while D shows horizontal distance from the home point. Read the units alongside the figures. Neither number measures how far away the next tree is, and the distance to the home point can differ from the distance to the person holding the controller. The two fields make sense once you separate their reference points.

Compare a climb with a horizontal flight
Draw a dot for the home point and a short vertical line above it. Suppose the drone climbs approximately twenty feet while remaining close to the point on the ground. The height value increases. The horizontal distance can stay near zero despite the aircraft clearly being some distance above the ground. It is reporting a horizontal displacement, not the length of a sloping line from you to the aircraft.
Now picture the drone traveling across level grass at a constant height. As it moves away from the home point, D increases while H may change very little. A return along the same line should reduce D. Observing these two simple cases helps a new pilot recognize the fields more reliably than memorizing where they happen to sit in one version of the app.
Check which point you are measuring from
Suppose you land after a short practice flight, pack up and walk to the other side of the field. At the next launch, verify where the current home marker is recorded. You want to know which location the distance field refers to today. The app can also distinguish the aircraft, home location and screen device on a map. They need not occupy the same position.
Without a clear reference, a number can lead to a puzzling conclusion. A helper may say the aircraft is about thirty feet away from them while your screen reports a different horizontal distance. Both may be describing their observations honestly. The helper is estimating from where they stand, while the display measures from its designated reference. Confirming that distinction is more productive than trying to prove which person has estimated better.

Read the units and nearby fields carefully
Speed figures may appear alongside height and distance. A rate such as feet per second answers how quickly the aircraft is moving. Feet or meters alone describe a distance. Check those labels while the aircraft is on the ground so you can recognize them with a brief glance later. After a unit preference change, look for the new unit beside the number before interpreting it.
Height above takeoff also deserves care on changing terrain. A hillside can rise toward an aircraft holding a steady displayed height, and a valley can fall away below one. The height number cannot supply clearance for an unfamiliar route. Use an open, level location for this particular learning exercise.
After the session, sketch one simple flight segment and annotate the expected changes in H and D. A small climb followed by a short sideways movement makes an easy example. Compare the sketch with your recollection or recorded flight data. The aim is being able to explain what each field measured, even when it disagreed with how far away the drone looked.