I always thought Leia died of old age or something.
The novelization strongly implies that she had been using the force to extend her life since being injured on the Raddus… even though that’s technically a dark-side ability, another reason why it makes more sense for her to have a purple lightsaber.