When Twilight Sparkle learns that her assignment to make friends is the most essential one, she has a panic attack that results in a magic surge, one that puts her in a time loop.
Twilight Sparkle and Starlight Glimmer are evenly-matched. Every time Twilight tries to stop Starlight's plan, she fails. That means Starlight wins, right?