"The nationalities of the migrants were not immediately clear.... The country is racked with conflict, and human rights groups have called conditions in its network of migrant detention centers 'horrific' and 'deplorable.' The Libya operation falls in line with the Trump administration’s effort to not only deter migrants from trying to enter the country illegally but also to send a strong message to those in the country illegally that they can be deported to countries where they could face brutal conditions.... A major transit point for Europe-bound migrants, Libya operates numerous detention facilities for refugees and migrants. Amnesty International branded those sites 'horrific' and 'a hellscape'...."
Meanwhile:
"Trump offers illegal immigrants $1,000 to 'self-deport'" (BBC): "The scheme relies on migrants utilising the CBP Home app, which can be used to confirm that person's return to their home country...." So, part of the incentive to self-deport is that you get to go to your home country. The threat of removal to Libya (or
Rwanda) is powerful.