In the winter, when the sun is in the south, it shines on the entrance and heats things up in the summer, the sun moves to the north and the cave entrance is in the shade, keeping things inside cool.
The wind in California tends to blow the strongest at night and in the winter while the sun obviously is at its strongest during the day and in the summer months.