Spain has assured its EU partners that most of the tens of thousands of migrants who arrived in its north African exclave Ceuta last week have returned to Morocco. But what triggered the mass migration?