天 "heaven / inborn" +
资 "qualification / endowment." Compare
天赋 (tiānfù, also "natural talent," more common in speech) and
天才 (tiāncái, "genius," stronger).
天资 is slightly literary, often used in evaluations of children's potential or in praise of artists/scholars.