Stone heats up very quickly from the sun on hot days. This is why we so often find lizards in our garden on stones. This is a way for them to bask in the sun and rest. I am sure you have seen a lizard more than once before so painting it should not be a problem for you two.