Why did this happen to this character in final fantasy 15? *Spoilers*

Solution 1:

According to the Final Fantasy Wiki:

Moments after forging a covenant with the Hydraean, Lunafreya suffers a mortal wound at the hands of Ardyn.

I have never played this game but I think this answers your Question. You can try and find gameplay that shows this event.