Dear Student,
If the body Rises height h and comes back then total distance travelled by it is 2h because h is travelled while moving up and h is travelled while moving down.
Since it comes back to its initial position its displacement is zero.
Regards