Retaining wall building is usually used to safe embankments, toughen drainage pass
https://storyquanta.com/p/qKfrpZOXOWst0B-PyLelo.pdf
Retaining wall production is probably used to maintain embankments, expand drainage float, and preserve foundations from soil displacement over the years.