Question about some relationship between interest rate, foreign investment, and long-term bond

long-term bond more attractive ⇢ long-term interest rate ↓
long-term bond less attractive ⇢ long-term interest rate ↑

interest rate ↓ ⇢ outflow of foreign money ⇢ depreciation
interest rate ↑ ⇢ inflow of foreign money ⇢ appreciation

could anyone help explain the above two relationship?