Cage's ability to reset the day comes from the Mimics' own power over time. The Omega, the hive's central mind, uses the reset to foresee and counter every human attack. Rita once had the same ability, which is why she recognizes Cage's situation and tells him, \"Come find me when you wake up!\" She lost the power, so she can only guide him.
Over countless loops, Cage and Rita train, map the battlefield and hunt for the Omega. Cage keeps watching Rita die, and his growing attachment, which she never remembers, becomes the story's emotional core. In the final push, the heroes can no longer reset, so every loss is permanent. At the climax Cage drops a belt of grenades into the Omega's lair. The Omega tries to reset the day but runs out of time: the explosion destroys it, and it ends up sending its own death 24 hours into the past.
Cage wakes up earlier than any previous loop, in a world where the Mimics have been defeated. He finds Rita, who does not know him, and smiles. Seen again, the film is less a war story than a story of invisible sacrifice. Cage is finally free, but the relationship he built across hundreds of timelines exists only in his memory, and he has to earn it again from the start.