The Mechanics Behind Swap Execution and Liquidity-Driven Outcomes