It's the whole purpose of the currency swap. America Corp is going to be doing business in Australia. If it takes out a $1 million USD loan, exchanges it into AUD, it will be paying interest in USD, exposing it to exchange rate risk because the operations that the loan is paying for will be occurring in Australia.
The best rational options for America corp are to enter into a currency swap or to issue an AUD loan in Australia (where it will receive an unfavorable interest rate). Taking out a USD loan in its local market, and exchanging to AUD exposes the company to too much exchange rate risk.
If this is not so, what is the purpose of a currency swap?
With a currency swap, America Corp takes out a $1million USD loan, and makes a currency swap with Aussia Corp. By entering into a currency swap, both companies save on interest expense, thereby profiting and it's *not* a zero-sum game.
From related CFAI Material, "TGT has effectively issued a dollar-denominated bond and converted it to a euro-denominated bond. In all likelihood, it can save on interest expense by funding its need for euros in this way, because TGT is better known in the United States than in Europe. Its swap dealer, DB, knows TGT well and also obviously has a strong presence in Europe. Thus, DB can pass on its advantage in euro bond markets to TGT."