The forward pass works down the columns of A: find a pivot, swap rows if it sits lower, and clear everything beneath it by subtracting multiples of the pivot row, constants included.The frozen picture below is the first elimination of the default preset, R3←R3−2R1, with the pivot row primary, the row being changed secondary, and the cleared entry marked. Forward pass, frozen
R3 ← R3 − 2R1, constants included. Reversible, so the solution set is untouched - the equations are being rewritten, not changed.
Every operation here is reversible, which is why the solution set survives: adding twice row one to row three would restore the original. The reduction rewrites the equations in a form that is easier to read, and nothing more.
This pass is the same one the rank tool performs, and it does the same job: the pivots it finds count the independent equations. Where it differs is that the constants come along, so that the consistency check and the eventual solution are available at the end.