So the long and short of it is just that: Moana and her ancestors are descendants of a demigod of Te Fiti. In the movie we see Moana's grandmother exhibit some mystical properties.