X-ray diffraction — physical phenomenon