Because under the high temperature plasma, the sample transforms into ions and atoms and forms different isotopes, some of which are highly radioactive.
But there is no need to worry, the instrument's own radiation shielding has been able to ensure the safety of the instrument in working condition.
Detecting radioactive material is because your sample itself is radioactive, not because the spectroscopy instrument produces it.