Explain how political relationships between countries can affect migration flows and foreign direct investment (FDI).