Note the line that separates the sky from the wall. It is as if the natural light of the sky is separated from the artificial light, and the scattered light of the moon illuminates the whole sky, but the light of the lamp is concentrated in one point.