It may have been a fume event which is very dangerous for everyone onboard.
> A fume event occurs when bleed air used for cabin pressurisation and air conditioning in a pressurised aircraft is contaminated by fluids such as engine oil, hydraulic fluid, anti-icing fluid, and other potentially hazardous chemicals.
> A fume event occurs when bleed air used for cabin pressurisation and air conditioning in a pressurised aircraft is contaminated by fluids such as engine oil, hydraulic fluid, anti-icing fluid, and other potentially hazardous chemicals.
https://en.wikipedia.org/wiki/Fume_event