Inflation was horrendous in many countries, including lots of very capitalist ones. Think Weimar Germany for a famous example, or the Latin American debt crises of the 80s and 90s for ones contemporaneous with Yugoslavia (note also the IMF involvement here)
In the case of Yugoslavia, there's a good argument to be made that the root cause were western trade barriers as part of the successful plan to push it into IMF loans that could then be used to dismantle the country.
Anyways, why are we even religitating the 20th century? We need to be looking forward and figuring out a solution to the crisis right in front of us instead of going all cold war again. The forest are burning right now. The rivers are running low right now. Yugoslavia, however you may feel about it, ended decades ago.