It doesn't matter whether migrants come from Morocco, Senegal, or elsewhere in Africa, they will eventually enter Spain because the country's authorities are a complete disaster when it comes to securing the border. Given that uncontrolled migration through illegal routes means that criminals are crossing the border too, Spain must address this issue with urgency.
While there's indeed a migration crisis in Spain, the nation can't just turn a blind eye to vulnerable people risking their lives in dangerous routes to run away from desperate situations such as wars and hunger. Seasonal working visas and reforming the Immigration Law to impose a solidarity system in the "autonomous communities" can solve the issue.
There's a 7% chance that Spain will announce a snap general election before January 2025, according to the Metaculus prediction community.