* Light Scattering: Clouds are made up of tiny water droplets or ice crystals. When light from the moon (or the sun) hits these droplets, it gets scattered in all directions. This scattering effect is what makes clouds appear white or gray.
* Blocking the Light: When a cloud is thick enough, it scatters so much of the moonlight that very little of it reaches our eyes. This makes the moon appear dim or even completely invisible.
* Different Cloud Types: The thickness and density of clouds vary. Thin, wispy clouds (cirrus) might let some moonlight through, while thick, dense clouds (cumulonimbus) will block almost all of it.
Think of it this way: Imagine shining a flashlight through a piece of tissue paper. Some light gets through, but it's diffused. Now imagine shining it through a thick piece of cardboard – no light gets through. Clouds work similarly, scattering and blocking the moon's light depending on their density.