Scandal of Supermarket Gassing of Pigs

How did killing method condemned for cruelty become standard?