landscape sculpt and paint is bugged

why does my landscape sometimes look like this:


and sometimes like this?

even if I dont do anything with my landscape sculpting or painting.
how do I fix that so it looks always like in the 2. image?