I don't think that's the case. The main gas imports come from the US, with the rest coming from Africa. This is why we don't need to follow the general EU rules regarding gas pricing [1].
BlackRock is indeed problematic and housing is a significant issue. However, I don't believe that house renting impacts the GDP. Construction does.
The current Spanish administration can hardly be considered neoliberal. Although the main party in the coalition is positioned in the center (progressive in all aspects except the economy), they share the government with a strongly left-leaning party, by European standards, I mean.
I'm not certain about the exact reasons, but I suspect it's related to the relatively low energy prices [2] (compared to the rest of the continent, except Portugal), and a social shield that helped protect families' income during the pandemic. This shield enabled them to continue consuming goods, even amidst higher inflation.
That gas and oil come from Russia through intermediaries like Qatar and India. When they buy them and sell them to the US, its not 'Russian' oil or gas. Its Qatari gas, Indian oil. Then those are exported to Europe in probably the biggest scam of the century - create a war and cut the oil of someone first, then buy that oil yourself and sell it to that person.
https://oilprice.com/Latest-Energy-News/World-News/Spain-Tak...
Another would be plunderers like Blackrock buying up Spanish housing to screw Spaniards over for profit...
https://reactnews.com/article/blackrock-eyes-spanish-resi-ma...
...like how it was done to the Americans...
https://www.cbsnews.com/news/homes-for-sale-affordable-housi...
A case of neoliberal plunder, that's what it is.