Mongodb Function: _id (ObjectId) missing in query aggregate results

For now, i’ll break this down into two separate Atlas Functions, but I’m curious to know why running aggregate in the same collection one after the other does result in the _id field missing.