check those cascades options bellow your screenshots, it appears you have the 4 cascades options, meaning that the shadow will behave differently depending of the distance from camera.
If you’re using URP, you want to change the URP asset’s shadow settings ( @AlexS72 , or anyone else). You can find the URP assets in your Project window.