Landscape weird hard edged artifacts that cannot be flatten

Hello all! I have a problem with the landscape. So there are some visible “hard edges” that i don’t want. First thought was that i’ve made a mistake and i forgot to flatten that region. So i used the flatten tool with the height i want and it does nothing for those edges. Any idea why is that happening?