Weakening capital flows are often the first shoe to drop in a balance of payments crisis. They directly cause growth to weaken because the investment and consumption they had been financing is reduced. This makes domestic borrowers seem less creditworthy, which makes foreigners less willing to lend and provide capital. So, the weakening is self-reinforcing.