A 0.17% premium is distributed pro-rata to all LPs in the pool at the time of the exchange if a trade happens. PancakeSwap enables “liquidity suppliers to opt to sell, move, or otherwise use (e.g. stake) their liquidity tokens in whatever manner they see fit” in addition to receiving fees. As a result, liquidity suppliers will potentially stake the LP tokens using Liquidity Staking.