Genetic and others
There are several inherited factors that, if positive, can increase risk of clotting.
There are factors that can be increased due infection or other illness that can increase clotting risk. Older age is also a factor. Decreased mobility is also a risk factor, and this can very predictable after certain surgeries.