It expresses deep gratitude, acknowledging a higher power as the source of blessings and good fortune. It's a common expression of thanks in Hawaiian culture, often used after receiving a gift, experiencing a positive event, or simply feeling grateful for life's blessings.
"Mahalo" means "thank you" in Hawaiian, while "ke Akua" refers to "God" or "the divine".
So, when someone says "Mahalo ke Akua," they're essentially expressing their gratitude to a higher power for the good things in their life.