Learning more about cavemen from paintings that have been studied for decades is not going to enable scientific discoveries that will advance humanity, it will not change anything to the present or the future of humanity. It literally serves no purpose other than to tell stories of a past so distant it does not hold lessons that are important for the future.
So what is left beside just the enjoyment of the public? What is the point of preserving those paintings by forbidding anyone from ever seeing them?
We have thousands of pictures of those paintings, gatekeeping their access to a handful of scientists is no different than letting them disappear entirely.