Given this paragraph describing the conclusion of the movie Groundhog Day, how did Phil manage to break the cycle and wake up on February 3 instead of back once again on February 2?

During one iteration of the loop, Phil reports on the Groundhog Day festivities with such eloquence that other news crews stop working to listen to his speech, amazing Rita. Phil continues his day helping the people of Punxsutawney. That night, Rita witnesses Phil's expert piano-playing skills as the adoring townsfolk regale her with stories of his good deeds. Impressed by his apparent overnight transformation, Rita successfully bids for him at a charity bachelor auction. Phil carves an ice sculpture in Rita's image and tells her that no matter what happens, even if he is trapped in the loop forever, he is finally happy because he loves her. They share a kiss and retire to Phil's room. He wakes the next morning to "I Got You Babe" but finds Rita is still in bed with him and the radio banter has changed; it is now February 3. Phil tells Rita that he wants to live in Punxsutawney with her.
https://en.wikipedia.org/wiki/Groundhog_Day_(film)

This paragraph summarizing the conclusion of Groundhog Day explains what was happening when Phil wakes up on February 3 but does not explain why he is able to escape the loop.