Question: what affects the speed of an electromagnetic wave?
Answer: The actual speed of an electromagnetic wave through a material medium is dependent upon the optical density of that medium. Different materials cause a different amount of delay due to the absorption and reemission process.