what causes an electromagnetic spectrum?

thanks....but ive tried that.

this is for my friend but its okay we'll figure it out sooner of later!

Thank you very much