I suppose it makes sense that it was an automatic shutdown rather than infrastructure failing on such a wide area. And then once it's shut down, a black-start is a logistical challenge as other comments have explained.
I'm also seeing some reports about it being more likely that something happened on the east side, somewhere like the Ebro valley or north across the Pyrenees. Catalonia seems to have been particularly affected, and it's on the path of important lines coming from France. High heat at noon could have caused a line to fail and short against a tree, which would be similar to the 2003 nation-wide outage in Italy.