Unhealthy eating habits are hereditary also.
Unhealthy eating habits are behavioral issues. The propensity to T2 is hereditary.