Recall your history. Before the French colonized those Muslims they were being enslaved by those very Muslims. As were Americans. Biggest annual expense of us government under Pres. Washington, and the year before we had Presidents, was tribute paid to the Barbary pirates. There’s a reason piracy is mentioned in the Constitution and it’s not Blackbeard or long John silver. But instead of importing the Islamic pirates, they built a navy and clobbered them
French got sick and tired of wack a mole clobbering, so chose colonizing them and trying to suppress the problem. Remember we took 2 rounds of wack a mole and then no more thanks to the French colonization. After a century plus of resistance to that they chose importation over genocide, not recognizing the former might become the latter in reverse.