From the article:
What they captured was the first footage of its kind ever recorded in Germany: pigs fighting for their lives as CO₂ flooded the chamber. Struggling to breathe. Panicking. Bloodying their heads against the walls. Screaming.
This is not an accident or an aberration. CO₂ stunning triggers an immediate, severe burning sensation in the mucous membranes of the nose, throat, and eyes. The animals experience intense pain, acute suffocation, and terror — for up to a minute before losing consciousness.
I believe, there's a way to gas pigs that just makes them sleepy and then pass out. I think, it was by using nitrogen. But yeah, that's not commonly done.