My theory is that their souls were linked by the force so that when Anakin cut that link, her soul left her body, killing her. Or maybe she was a secret force-sensitive and her mental anguish caused the midichlorians in her own body to shut it down.
Just kidding. You know it's not that complex. She just lost the will to live.