Well, if you want the short version, Frisk possesses the power to SAVE and RESET to certain points in time, as they have the highest DETERMINATION. Occasionally, an entity called "Player" forcibly guides Frisk and their companion, the ghost of Chara, to commit mass genocide of all the monsters, however, in this timeline, it seems Player is keeping their hands off and allowing Frisk to be pacifist