gyat came from the phrase "oh my god" when people started exaggerating the phrase to something like "oh my gyat" to emphasize how astonishing something is.
i saw this giant dog floating with a cone on its head so i screamed "oh my gyat"