The building style of the Bugis reflects their belief system.
The gods live below & above, so the first floor represents those below (simple & earthen, but also the foundation) and the second floor represents the sky gods (mighty and beautiful, but also far away).
Both gods made humans to settle the formerly empty middle.