Recently scrolling up and down gesture triggers page change gesture
If this is happening in Preview: when your pointer is on the titlebar/toolbar, using the 2-finger scroll will trigger the page up page down gesture. Make sure your pointer is on the document itself and not the titlebar.