The King caught a fish and raised it because it was going to be eaten and it gets too big so he had to put it in the ocean. The King wanted the Mataya to make an appearance to God, to offer his prayers.
The differences with Hinduism, is god doesn't give them institutions, the king isn't a blameless man and The Lord doesn't want to destroy all life under the havens.