When pickles are not refrigerated, the bacteria and yeast that are naturally present on the cucumbers can start to multiply. This can cause the pickles to become soft and slimy, which is basically the opposite of what you want in a pickle.
But here's the thing: pickles are not as perishable as you might think. In fact, they can last for weeks or even months without refrigeration, as long as they're stored in a cool, dark place.
Pickle enthusiasts have even been known to experiment with fermentation techniques, which involve allowing the pickles to sit at room temperature for days or weeks to develop that perfect sour flavor.