Question: why did xehanort kill kairi?
Answer: In the last hour, Master Xehanort kills Kairi to provide “motivation” for Sora. While Kairi does get revived in the ending, the plot development makes little difference in Kairi's overarching role in the story.