Here is data from Flightradar24: the X axis shows time in seconds, I've placed 0 time at the point where the altitude pattern changes from smooth climb to jagged spikes. Ground speed and altitude has been converted from knots and feet to metric units.
View attachment 472955
To start with, it's impossible for the aircraft to be displaced by over 1000 meters in the vertical direction in a fraction of a second, as you can see indicated at +4 time, so to start with I think we can assume that the altitude data is not correct at that point. But it's data that was recieved, so it must have been transmitted and something other than an altitude change must have caused the data to spike like that.
Maybe the shockwave of an explosion, or a rapid decompression?