How to solve these Shadow boundary problem?

Problem image

I’ve heard that these issue, where shadow edges become noticeable and awkward, happens quite often, but I can’t find what it’s specifically called or how to fix it. Could you explain what causes it and how to resolve it?