Abnormal quote gain in running activity. for spikes In the altitude profile?

My Garmin Fenix 6X pro in the last period is reporting absolutely abnormal quote gain during running activities of 10km or so.

I note that in these activities the quote profile is plenty of spikes  which I guess is what sums up into enormous quote gain

in this profile I note that first minutes seems fine but then it starts spiking

does someone have the same problem? Just wondering if it’s some settings of the fenix or a problem on the hardware sensor
thanks