So, why would we even consider refrigerating onions in the first place? Well, it's mainly because of the moisture factor - onions tend to absorb moisture from the air, which can cause them to spoil faster. But, at the same time, onions are also pretty resilient and can survive without refrigeration for a while, kind of like a tough cookie.
It's worth noting that onions have a natural protective layer that helps to prevent moisture from getting in and causing damage. This layer is like a built-in force field that keeps the onion safe from the outside environment. But, if we cut or damage the onion in any way, this layer is compromised, and the onion becomes more susceptible to spoilage.