When you increase the total energy in a beam of light, one of two things can happen. It can get a higher frequency, which leads to a shorter wavelength ; this is the effect that is causing you confusion, because microwaves have a longer wavelength than visible light.