I have no idea how they made the structures that high up except to say that it was extremely dangerous and they had to have lost some people building them.
They have found ladders that were made of tall tree trunks with notches cut in them for foot holds, they found a few that were preserved but even still, some of the dwellings were too high up for those.
The only thing I can figure is that they put women in charge because they know how to get things done! lol.