Database

[{_id:ObjectId("5a934e000102030405000000"),events:[{status:0,timestamp:ISODate("2022-05-29T13:26:00Z")},{status:8,timestamp:ISODate("2022-05-29T14:41:00Z")},{status:4,timestamp:ISODate("2022-05-31T10:13:00Z")},{status:3,timestamp:ISODate("2022-05-31T10:18:00Z")}]}]

Query

db.collection.aggregate([{$project:{events:{$reduce:{input:"$events",initialValue:[],in:{$concatArrays:["$$value",[{timestamp:"$$this.timestamp",status:"$$this.status",mod:{$mod:[{$size:"$$value"},2]}}]]}}}}},{$project:{firstEvent:{$filter:{input:"$events",cond:{$eq:["$$this.mod",0]}}},secondEvent:{$filter:{input:"$events",cond:{$eq:["$$this.mod",1]}}}}},{$project:{couples:{$zip:{inputs:["$firstEvent","$secondEvent"]}}}}])

Result