Exact causes of Diabetes are unclear to date. But genes contribute hugely to Diabetes (Type 1 and 2 Both). It is not 100% surety that one diabetes was passed to you by your parents or immediate family. but if they had the disease then you are 20 times more susceptible to getting diabetes. We have no control over whether we will fall sick with it. But we can take measures to prevent it.