To simplify, the Terra ecosystem incentivized converting Luna into UST when UST's price rose too much and vice versa. This maintained Luna’s market cap relative to UST, stabilizing UST’s price.