Before earnings, uncertainty inflates implied-volatility. The moment the news is out, uncertainty collapses and so does the extrinsic-value of every option on that stock, whether the stock moved or not.
Buyers of options into earnings need the stock to move more than the implied move to profit. Sellers are betting it will move less.
Example: a stock at $100 has IV of 80% the day before earnings, with the $100 straddle priced at $9. The next morning the stock is $103 and IV is 35%. The straddle is worth about $4: the buyer lost $5 despite a 3% move.
Related: implied-volatility, vega, earnings-report, straddle