Although light (or the lack of it) is responsible for forming shadows, there are other things that help determine the shape and size of it. In particular if the angle of the light and the object is around ninety degrees. If the angle of the light is smaller, then the shadow will be much longer than normal. If the object that is blocking the path is very near the light source, a larger shadow will appear.