Three Different Ways Synchronization Can Cause Contagion in Financial Markets