And the other way around, if there is an inflow of foreign currency to a country, it creates demand for the home currency. This results in the appreciation of the home currency.
If foreign currency enters a nation, it boosts demand for its own currency, leading to an increase in the home currency's worth.