Śrīmad-Bhāgavatam · Text 6.1.41
Who is speaking and story frame
येन स्वधाम्न्यमी भावा रज:सत्त्वतमोमया: ।
गुणनामक्रियारूपैर्विभाव्यन्ते यथातथम् ॥ ४१ ॥
yena sva-dhāmny amī bhāvā
rajaḥ-sattva-tamomayāḥ
guṇa-nāma-kriyā-rūpair
vibhāvyante yathā-tatham
The supreme cause of all causes, Nārāyaṇa, is situated in His own abode in the spiritual world, but nevertheless He controls the entire cosmic manifestation according to the three modes of material nature — sattva-guṇa, rajo-guṇa and tamo-guṇa. In this way all living entities are awarded different qualities, different names [such as brāhmaṇa, kṣatriya and vaiśya], different duties according to the varṇāśrama institution, and different forms. Thus Nārāyaṇa is the cause of the entire cosmic manifestation.
Read Śrīla Prabhupāda's purport on Vedabase.io