It's the inverse square (not a root), because the surface of the planet is two-dimensional. Think of moving a projector screen back and forth. For a fixed aperture angle, the area projected upon will grow quadratically with distance, so the intensity (inverse area) grows inverse-quadratically.