system
A chat on subreddit /r/wallstreetbets
human
At the most basic level, yes. Basically an option costs a lot more before earnings because earnings has the potential to push the stock price to a point where excercising the option is worth it. After earnings, there's no news expected that would change the stock price, so if earnings didn't push your option to profitability, there's nothing else left to change the price, so the value of the option goes down.

gpt
You don't want to buy right before since the IV and thus the price will be very high and a mistake will cost you the extra premium.  
  
 You don't want expiry right after earnings because at earnings there will be a crush. If you have another month the IV won't be as high for the earnings and won't drop so dramatically as there is still time for more news.