The mass spectrum of bromine shows two strong peaks because bromine has two naturally occurring isotopes - bromine-79 and bromine-81 - which have different masses. In contrast, iodine only has one naturally occurring isotope, iodine-127, which results in a single peak at 127 amu in its mass spectrum.