Users of a token swap pay a fee to have their tokens swapped. This fee gets distributed among the people who are providing liquidity proportional to how much liquidity they provide compared to everyone else.
They are paying a transaction fee because they've deemed that token swap as being the most convenient or cheapest way to make the exchange.
They are paying a transaction fee because they've deemed that token swap as being the most convenient or cheapest way to make the exchange.