What happens as the energy of a photon increases?

Its frequency increases.