That is the important point. Padme does have reason and will to live. She insists there's still good in Anakin, she just gave birth to twins, she has absolute reason to live. It's weird. I get the likely intended poetic idea of dying of a broken heart/spirit, but, well, it's all weird and, in my opinion, a bit lacking in how it was depicted. Yet another reason for there to be more Padme narrative material from her perspective.