X rays are electromagnetic waves just like the light rays that we see which are basically electromagnetic waves in the visible spectrum. There basic building block cks are same and only differ in energy. So, they can be reflected and refracted just like light rays that we can see. read more
Elementary physics -- any beam of energy can be diverted (refracted). Water refracts any rays shot into it, including X-rays and gamma rays. Higher energy waves are not refracted as much by water as, say, the visible light spectrum, but they are refracted to some degree. read more