Because there are preferred shares common shares. Large VCs or loans will demand preferred shares. They get cashed out first in any exit. What's left could be nothing for common share holders.
This has happened plenty of times where a startup in a dire situation had to sell itself or raise a down round with poor terms to survive and the earlier investors got wiped out.