The economy sucks for everyone, not only a subset of poor migrants. A subset of african migrants show up in crime stats way more than plenty of other poor migrants coming from pretty much everywhere, be it asia, africa or latam.
Some poor indian has no advantage coming to Spain compared to someone from the Magreb, in fact we could argue quite the opposite as their support networks/country of origin are pretty far away.