I think in the end it all comes down to political maturity. Spain has not really had a long tradition of democratic accountability. Its local and regional politicians behave a bit like small town sheriffs in nineteen century California.
Dictatorship or an exaggerated respect for authority of one form or another is deeply imbedded in Spanish culture.
I accept in Madrid there is an inteligencia who are more aware of the present. However go out to the regions and it’s a different story.
There is far too little local accountability and far too much regional power.