Villains are usually the antagonists in fairy tales. When they look back on their lives, where did things start to go wrong?
In the long stories they inhabit, even villains have regrets. So they sign contracts and hire employees to reenact their lives, letting them view a different fate from God's-eye view.
For example, Esdeath decides to stand against her corrupt country. As she returns to the imperial capital to assassinate the minister, her subordinates suddenly get cold feet and try to talk her out of it. The country is beyond saving.
Esdeath glances wistfully at the fat minister, still bossing her around, then helplessly covers her face and sighs. "Well, we're here now."
Or take Homura Akemi. No matter how many times she loops, she can't truly save Madoka. In the end, she has to turn evil and become a demon god to save the people she loves. In the abyss of endless loops, sometimes you just have to go all in.
Homura wistfully reaches out to catch the first snowflake of Christmas and hands a gift to the lonely Mami Tomoe. "Mami-senpai, I love you."
Since it was a confession, Mami said yes.