What is this fallacy?
"I threw a ball onto the roof. Which way did gravity pull it? Well obviously because the ball started on the ground level and ended up on the roof then gravity must have pulled the ball upward."
The error is that it ignores rate of change and misunderstands acceleration. It seems to assume that gravity changes the position directly, when in fact gravity changes the rate of change of the position.
The real world example I see a lot in politics goes like "Politician X's policy on stopping Y was a failure because Y increased over X's term" when in reality Y was accelerating downward (just like the ball on the roof). In this case, the fallacy seems related to cherry picking data because it only looks at the start and end points of Y and ignores the rate of change differences. Is there a specific name for this fallacy?