The same fungus that was causing Brood X cicadas to have sex until their genitals fell off is one possibility.
“Notably, Evans added that the bird die-off appears to be in decline as the cicada emergence is wrapping up.”
It would be interesting to overlay a cicada brood map over areas of bird deaths. I’m assuming that cicadas are living in Spain too.