Coinbase decided to sue the SEC due to a disagreement or conflict that arose between them, possibly related to regulatory issues or the SEC's treatment of cryptocurrencies. Coinbase might have taken legal action to protect its interests or seek clarification on certain regulatory matters.