Geographically, they're not. Ceuta occupies a tiny corner of Africa. None of these people reached peninsular Spain and they are not migrants fleeing into Europe to live there.
Most of these people aren’t from Morocco, so they already were migrants before even making into Ceuta, which is Spain, hence yet another country.
They migrated to a different, country, that is part of the EU. Once they are legal there, they can move to anywhere in europe without problems.