> It seems strange to ignore the terms agreed to when raising money.
I'm not sure what you mean by this - can you clarify?
> A company that raises money via loans typically has more obligations than one that raises money via equity. Doesn't the option value for repayment count for anything?
Certainly the equity of a highly indebted company will behave differently than the equity of a debt-free company. But "different" isn't necessarily "better". To go back to my company A & B example, if both companies double in enterprise value, the equity holders of company A will get a return of 100% ($1,000,000 profit on capital of $1,000,000), but the equity holders of company B will get a return of 200% ($1,000,000 profit on capital of $500,000). Conversely in a scenario where each company loses half of its value, the equity holders of company A will still be left with half of their money, while the equity holders of company B will be wiped out (to first order - reality is more complicated than this usually).
So in some scenarios the company A equity looks better and in some scenarios the company B equity looks better. Which you prefer overall depends on your individual risk preferences - some people want a higher potential return at the cost of higher risk, some people want less risk at the cost of a lower potential return. There's no objectively "best" structure.
Even for companies with no debt at all you'll see investors who artificially create financial leverage by buying options on the company's equity. Different strokes for different folks, or as my dad likes to say, there's an a$$ for every seat. :)