How are things like that, that were preserved (I'm assuming) by the dry sand they were buried under, then gets preserved by archaeologist for the future?

A lot of pigments react to oxygen, and the sandy winds must not be kind to this kind stuff so I'm curious.

I know they've had to close Lascaux to the public for example.