All behavioral traits have contributions both from genetics and from the environment. When a trait changes rapidly in a population over time, this suggests the environment is the major cause, since genetics hasn’t had the time to change much.
Duckworth tries to apply this logic to show that grit has some portion due to environment and is thus malleable. (Shortform note: Because if grit were purely genetic, the book would be self-defeating – you either have grit or you don’t! Time to go home.)
In unpublished twin studies, the heritability of perseverance is estimated to be 37%, and passion 20%. Supposedly, the rest of the contribution is from the environment.
Also, in a survey of US adults, grit rises steadily over age:

Here are possible explanations for this:
Because we don’t have longitudinal studies of grit, we can’t distinguish between these explanations, but the third is Duckworth’s favorite. Anecdotally, people change when new expectations are thrust upon them – imagine the teen who sleeps in daily, but then enlists in the military and is punished for waking up past 6 AM. Grit can be grown.