Ancient history

Why was loui the 14 called sun god?

He wasn't called that. King Louis XIV referred to himself not as a Sun God, but an image, an idea that made France and its monarchy an ideal of the European civilization, a symbol of stability.