Complex sentence: The Spanish harvested a large quantity of rock from the walls of the structure to build churches in Cuzco, which is why the walls are in perfect condition up to a certain height, and missing above that point.
Split into simpler sentences: The Spanish harvested much rock from the walls of the structure to build churches in Cuzco. This is why the walls are in perfect condition up to a certain height, and missing above that point.