and approach the border without moroccan authorities noticing and at least warning their spanish counterparts
Question: Why would they care?
Followup question: What makes you think they didn't warn their Spanish counterparts?
Final bonus question: What makes you think any of that has any impact on the outcome?
If you want to take pictures out of context, there's plenty of pictures of what happened at the border: On the Spanish side all the border agents were there, standing there in full force unable to do anything. How many people do you think make up the border guard there, and what do you think they were going to do with an influx of 50000 people? Shoot them? Prevent people who just spent 5km swimming (some didn't make it and drowned) from coming out of the water? Did you learn nothing from Gandhi?
Literally no border in the world can cope with what happened here without the use of deadly force. I know some people think that's the answer but most of the west likes to think of themselves above that.
also note that the vast majority of migrants weren't moroccan, they came from far further south. so this could have been morocco just "offloading" a migration problem to spain
The same Morocco who took no action when some 95% of the migrants went back to Morocco 2 days later? I mean if that's true then Morocco's foreign policy could make even Trump's look good.
Your connection to Israel is also just irrelevant. Its widely reported not just though your social media "research" but with direct interviews that many of the migrants were there precisely for the reason listed in TFA. They were led to believe that Spain had no choice but to accept them, which was wrong. The fact that zionists influences are mocking Spain has nothing to do with the migration crisis and everything to do with the fact that zionists have attempted to mock any country for any reason when said country doesn't support them.