Although it is plain the Spanish PM is motivated by the economics of losing the income from British holidaymakers cancelling their vacations on the Costa del Sol and not by UK health.
I haven't noticed the Spanish supporting the UK's desire to get a sensible deal with the EU ... which we want for economic reasons. Nope. They are part of the group whose idea is to punish the UK for Brexit.
So I'm kinda thinking, too bad for you, Spain. Maybe make friendly before complaining when the shoe is on the other foot.