How did the formation layers get to be inverted?
It's not uncommon to see folds associated with thrusts in the Rockies and other mountain belts. Folding of a sequence of rock layers can cause their inversion. Erosion of part of the sequence may leave only the inverted section exposed.
(Example).
It is not that they are inverted, there are just older formations overlying younger ones. Which is classic thrust fault situation, but in this case it was a massive slide along a plane of detachment leaving islands of older rocks, called klippen, on top of much younger rocks.