In a staking pool, depositors are able to withdraw the same number of tokens that they deposited. Yield is provided at a constant rate by the staking pool provider as a reward for staking tokens.
In a liquidity pool, depositors may withdraw a vastly different number of tokens than they deposited. Yield is generated through fees paid by swappers and is mostly based on trading volume.