To prevent major loss in small liquidity pools.
Reference: tzkt. They colour code it: green when impact is low, orange when it's medium and red when you should not trade.