People cast a shadow on the ground as they walk because they block:
Light
A dark area or shape is produced by a body coming between rays of light and a surface and thus obstructing the path of the light from reaching the surface. This dark area or shape so produced is called a shadow. As human body is opaque it blocks the light coming towards it and thus people cast a shadow on the ground as they walk.