I guess over two hours slight elevation gains adds up?
Discussion
Looks like a bad GPS to me. Since you returned to where you started the uphill parts would have to average at least 8.5% grade, which is pretty steep for road. And since you travelled a significant distance in orthogonal axis it'd almost certainly have to be even steeper as the slope is unlikely to be at a 45° to the road network.

