Iran severed ties with Egypt in 1980 to protest Cairo 's recognition of Israel the year before .