https://abukhadeejah.com/having-alliance-with-the-non-muslims-is-of-two-types-misunderstanding-this-affair-leads-people-astray/
Alliance with the Kuffār is of two types, misunderstanding this affair leads people astray: At-Tawallī and Al-Mawālāt: Allegiance with Unbelievers due to Love of Unbelief, and Allegiance with Unbelievers due to Desire of Wordly Gain