Shadow resolution UE5

Hello Unreal Friends,

I’
Capture
m new to this platform and just learning UE5. I have a question about shadows. In the image you can see that some shadows are nice and soft and other are pixelated. Is there a setting i am missing? I don’t understand why that is happening.

Anyone?