The overall goal for what would become the Transformer was to create a new language modelling architecture that could take better advantage of the available parallel (GPU, etc) hardware, as opposed to RNNs which required sequential training of each time step. Uszkoreit's insight was that language is as much parallel as it is sequential, as can be seen from these parse trees where different branches (parts of the sentence) can be analyzed independently and in parallel until they join together at a higher level.
So, this is why the Transformer consists of explicitly stacked layers, because it is mimicking the layers/levels of a parse tree.
The evolution (assuming this direction sticks) of the architecture to a looped vs pass-thru design could perhaps be thought as moving away from this original linguistic inspiration to more of a brain-like architecture, although in reality the motivation is probably more practical to reduce parameter count.