Original:  However, the Confederation generated resistances among several groups in both countries , which resented the dilution of national identities , and also among neighbouring countries.
Revised:  However, the Confederation generated resistances among several groups in both countries , which resented the dilution of national identities and by neighbouring countries.
Edit intent: coherence