If this setting is ON:
All liquidity-in and liquidity-out transactions are treated like normal trades, meaning that gains are calculated.
If this setting is OFF:
All liquidity-in and liquidity-out transactions act as if a Swap tag is applied - gains are not calculated and the cost basis is transferred directly to the received asset.
You can read more about the Swap tag on What are tags?