Spain's government has vocally criticized U.S. and Israeli strikes on Iran since the start of the war more than a month ago.