Instructions: Given a scientific question, generate a correct answer to it.
Input: Refraction happens when light bends from doing what in a new medium?
Output:
changing speed