XLRS is caused by mutations in the RS1 gene, which encodes the protein retinoschisin. This protein plays a crucial role in maintaining the structural integrity and function of the retina. The mutation disrupts the protein's function, leading to the splitting of the retinal layers.