The issue is, governments on both sides making sure most of the money goes to the elites rather than building up the population of the poorer country.
If they weren't siphoning off the top the income inequality between the two trading nations would always trend towards 0.
A problem that solves itself, as long as your leaders aren't a crooks.