A couple of months ago I traveled into the Moroccan Atlas Mountains. Many times I have seen pictures of landmarks like this one of Aït Benhaddou which show apparently unnaturally flat mountain formations stretching across the horizon.
My guess is that this is a vestige of the ice age or a huge water reservoir. Unfortunately, I could not find any good source on how they were formed. Thus my question is:
How can these formations be explained?