The most accurate response regarding what preserved the art of Altamira until modern day is:
the Paleolithic inhabitants sealed off the cave once all the walls and ceilings had been painted.
This sealing helped protect the artwork from the elements and human interference, preserving it for thousands of years until its rediscovery.