Answer
They have different frequencies.
Explanations
Some electromagnetic wave have high frequency than others. hose with high frequency are more harmful than those with low frequency.
Waves with high frequency have a higher penetrating power and they can kill cells if exposed to it. This makes them harmful.