Here’s a hypothetical geologic history that might explain this scene: layered sediments were deposited by water or airfall (including volcanic pyroclastics). A crudely polygonal patterned ground was created by stresses in the sediments, and groundwater followed the fractures and deposited minerals that cemented the sediments. This was followed by perhaps billions of years of erosion by the wind, leaving the cemented fractures as high-standing ridges.
Of course, this story is almost certainly incomplete if not totally wrong.
Click here to see the close-up subimage from which I cropped the image on the right.