Why was rock art made?

Some believe that petroglyphs were created to mark tribal territory, indicate water, or show activities conducted in those areas. Other petroglyphs seem to record important events, such as a successful hunt or the migration of a tribe. Some symbols recorded good hunting sites. Others tracked the movement of the sun, the moon, planets, and stars. Some petroglyphs seem to relate to a spiritual life, religious ceremonies, sacred beings and the activities of shamans. Some rock art hints at epic legends and mythical protagonists.