These temples are found in Myanmar.
In the Bible (Genesis 10–11), we learn that after the great flood, God told Noah and his family to fill the earth. Instead, they stayed together to build a city and a tower. God caused the families to begin speaking different languages and scattered them over the earth. As they moved, they passed on the memory of the tower of Babel to their children and built towers that may have been based on the tower they remembered at Babel.
In the old days, mighty giants ruled over the earth. They sought to conquer heaven, so they built a tower to reach the skies. Fearing that the giants would take over, the gods confounded their speech and scattered them across the world.
This legend comes from the Karbi people of Eastern India.