Mutations in the RB1 gene can be hereditary or sporadic. In hereditary cases, a child inherits one defective copy of the gene from a parent, and a second mutation occurs in a retinal cell, leading to retinoblastoma. Sporadic cases involve two independent mutations in the retinal cells. Environmental factors, such as exposure to radiation or certain chemicals, may also contribute to these mutations.