Why would an artist deliberately choose to paint in a cave’s darkest, narrowest recesses? Researchers think they know the reason.