Where the yield comes from
Trading fees, borrower interest and, often, newly minted reward tokens paid to attract deposits. Reward token yields usually fall fast as more farmers arrive and the token price drops.
Risks
Smart contract hacks, impermanent loss, collapsing reward tokens and complex strategies stacked on several protocols. Very high advertised yields are a warning sign rather than a bargain.