From the article: "The reason grottos worked so well as natural fridges is due to their excellent ventilation. Since they usually occurred on rockfall or on an accumulation of scree, they have a porous foundation that guarantees internal air circulation and results in a year-round stable temperature..."
Maybe rocks in the scree cool down the air in the pores between them. Cool air is denser so it sinks and flows out at the bottom of the porous layer, and new warm air is pulled into the ground towards the top of the scree pile. People found the places that cool air was flowing out and built these grottos there. Not saying I knew anything about these before 10 minutes ago, but that seems plausible to me.