Is this data from the same person?
If yes, probably some kind of error is going on, idk what though.
If no, the upper person has sleep apnea.
EDIT: Ok on second look these are two different graphs, presumably of the same night... with the upper one likely tracking heart rate and movement to guess at sleep stage, and the bottom just... location in bed vs some level of deep sleep?
Yeah I don't know, either its configured wrong, its not sensing correctly, or you have sleep apnea.