In this case it could be carbon dioxide if, as I said before, the ride was on recirculating A/C air.
Ride full of people breathing in air and exhaling a percentage of carbon dioxide, to much CO2, you go to sleep.......
https://www.fsis.usda.gov/sites/default/files/media_file/2020-08/Carbon-Dioxide.pdf