Step-by-step explanation:
The answer is No. You know light from Stars travel in cold temperature of space and different pressure as they enter our planet after travelling many light year to reach us at the same the speed.
Light bends when entering a different medium(refraction). Even if the medium is same and the temperature is different it will get bend. As the 2 different temperature air behave like 2 mediums (Due to distribution of atoms ).
But light doesn't’ bend by heating or by putting pressure on it.