The spire of New York City’s World Trade Center shined red and yellow — Spain’s national colors — to honor those who died in a terrorist attack in Barcelona.