Every person has different genes
Although it is extremely rare, it can happen due to
Genetic change
Genetic mutation
Genetic deletion
Certain traits skip a generation
There are beneficial genetic mutation
Environmental factors can produce transmissible genetic defects only if they affect to gametes
If you are the only member of your family who suffer a disease, you can claim that it is not transmissible