Answer:
Hypsochromic shift.
The second solvent is more polar.
Explanation:
Compound A + Solvent 1 = red
Compound A + Solvent 2 = orange
Since orange has a smaller wavelength than red, the electronic transition observed when the compound A is dissolved in solvent 2 has a higher energy.
A band transition to a lower wavelength and higher energy is called a hypsochromic shift.
The change in the color due to the solvent is called solvatochromism. Usually, when the hypsochromic shift is observed (negative solvatochromism) it means that the solvent is more polar.