Due to the Barbary Islands being almost right between Equestria and Zebraca, both nations began throwing money at them to both not raid their ships, and attack their opposition. Naturally all guns and money would turn the area into a massive proxy war, as pirates would war with each other over all the loot.