Dear student,
Distance is the total path length covered by an object whereas the displacement is the shortest distance between the initial and final point.
So, here the object first goes to height h and then come back to the ground after covering the same height h.
so distance =h+h =2h meter.
and as the obect comes back to its initial position, the initial point = final point
hence, displacement =0 meter
Regards