Pathfinder was created as an updated version of D&D 3.5, which was very complex. PF food streamline parts of it, but ended up just as complex at some point, mostly due to the massive variety of options available through splat books.
Meanwhile, D&D 5e was released to be much less complex by getting rid of stacking bonuses and the vast majority of math.
Parhfinder 2 (which I have not actually played yet) did not do that. They opted for streamlining the existing system by combining several similar subsystems into one (i.e. everything is a feat now). But the math is still there.
Pathfinder was created as an updated version of D&D 3.5, which was very complex. PF food streamline parts of it, but ended up just as complex at some point, mostly due to the massive variety of options available through splat books.
Meanwhile, D&D 5e was released to be much less complex by getting rid of stacking bonuses and the vast majority of math.
Parhfinder 2 (which I have not actually played yet) did not do that. They opted for streamlining the existing system by combining several similar subsystems into one (i.e. everything is a feat now). But the math is still there.