This has also been suggested by various politicians and others in front of a microphone or a camera without any basis in fact whatsoever. There is a (by now remote) chance that indeed wind power (or renewables in general) were the primary cause but the evidence points in an entirely different direction, the lack of control authority and undampened oscillations getting out of control. In such a situation various safety protocols dictate that sections of the grid disconnect and go into island mode or switch off altogether. This to prevent damage to the grid and to all of the grid connected devices. As these outages go, I think it was handled extremely well, the main question remaining is what the root cause was and what should be done to avoid a repetition.
https://en.wikipedia.org/wiki/2025_Iberian_Peninsula_blackou...