hawk37 nailed it, the aircraft climbed through a layer of gradual wind shear.
No inertial sensor worth its salt nor any external tracking as it was a line aircraft performance flight test.
The solution to these problems is to always fly the same climb on the reciprocal course along the same track. Looking at the data from the two climbs together, it is then obvious what happened.