Shadow seems far from object

I have a regular directional light, when close from objects, the shadow looks good and well connected to the object (the cube touches the ground):

But as soon as I go further, the shadow seems to detach from the object. How to keep it connected ?

Thanks !