There are various reasons for the move. The US Federal Reserve continues raising interest rates (and signaling more), making it less attractive to take risks abroad when returns can be higher in the US. Loans denominated in US Dollars are less attractive than they used to be. Fewer loans are taken while more are being paid back.
Also, Trump's new tariffs are also contributing to the outflows. While the most vocal disputes are with Canada, Mexico, the European Union, and China, other countries are affected as well. Smaller emerging markets are part of the global supply chain. If a Chinese company sources parts from Vietnam for its exports to the US, the Vietnamese factory suffers as well. Expectations for trade barriers already impact investment decisions well before they are impose