A because on the EM (electromagnetic) spectrum you will see that the ones that start it out have longer wavelengths which mean they start out with low frequency. so since x-rays come after microwaves than x-rays have a shorter wavelength and a higher frequency.