Oxidation (and other processes) do affect coffee flavor, and grinding it up increases surface area / exposure to oxygen, speeding that up. Putting it in the fridge seems to also worsen flavor, but the freezer seems to be pretty reliable. Here’s a nice video discussing this by a weird coffee person (James Hoffmann): Should you freeze coffee beans?
Also, KGLW, nice!
This is unbelievably detailed.