The checkout process should be linear and clear
The fewer clicks (the fewer pages), the better; simplify the checkout process as much as possible.
Most checkout processes are linear and have been for quite some time. So when there’s an exception, it sticks out, and customers get either annoyed or confused.
Most of the time it happens when a site wants to force registration before checkout.