Because the main reason ancient Mesopotamians built ziggurats has its roots in religious beliefs. They built them to make the temples closer to the heavens and therefore closer to the Gods. This is tied to the belief that Gods appeared on earth at the highest point in the land