If you are askking about the story;
She felt like she was captivated because of her marriage and her oppresive husband. When she learned that he died, she thought after all those years she was finally free. And when she saw her husband at the door, all this joy disappeared because her husband was back and she wasn't free anymore. She had a heart attack ouf of shock probably. But I think it might be because of overdose of sadness.