What challenges do state governments face in ensuring the safe repatriation of migrant workers stranded abroad?

The West Bengal government's efforts to repatriate workers from Oman highlight difficulties in such processes. I want to understand the administrative, diplomatic, and logistical hurdles involved in these operations.