Two different problems that look similar
It's easy to lump 'pests eating stored food' into one category, but rodents and stored-product insects are functionally different problems that happen to share a location. A rodent is an opportunistic forager: it doesn't need the food to already be damaged, it creates the damage by chewing its way in, and it does this regardless of season or ambient temperature because it needs to eat and it needs shelter, and a garage full of dry goods offers both.
Stored-product insects are a different mechanism entirely. Extension guidance consistently notes that species like the Indianmeal moth and sawtoothed grain beetle 'live, eat, and grow inside stored products,' and a meaningful share of infestations start before the product is even carried into the house — the eggs or larvae were already present in the package at purchase (University of Minnesota Extension; NC State Extension). Cold slows their development but a warm basement resets the clock.

