Latin genus could concern birth and lineage. Generosus described noble birth and also had approving figurative uses. English generous inherited that family of meanings, with free giving now a familiar emphasis.
Figurative generosity already existed in Latin and French. It did not first arise from English social-rank usage, and French and Latin are alternative contributing routes.
Sources
- Merriam-Webster: genus
Word History includes Latin genus, birth, race or kind.
- Merriam-Webster: generous
The entry gives Middle French or Latin origins from generosus and genus and documents the English giving and highborn senses.
- Etymonline: generous
The entry explicitly preserves the earlier figurative Latin/French generosity and the noble-birth range.