When the government adopts an expansionary fiscal policy, it raises interest rates by selling bonds to finance its spending. This higher interest rate attracts foreign capital, boosting demand for dollars and leading to an increase in the exchange rate.