Difference in ascent and descent

Hi

Im loading a route into Garmin Connect which all official material says has a ascend and descend of around 1200 meters.

When I load the gpx file into Garmin Connect(screenshot attached) it shows ascent and descent at around 640 meters.

When loading the same gpx file into Strava it says ascend and descend around 840 meters.

The same gpx file loaded into my Edge 540(screenshot attached) shows the correct values of around 1200 meters.

So what is going on here ?