Śrīmad-Bhāgavatam · Text 4.28.61
Who is speaking and story frame
माया ह्येषा मया सृष्टा यत्पुमांसं स्त्रियं सतीम् ।
मन्यसे नोभयं यद्वै हंसौ पश्यावयोर्गतिम् ॥ ६१ ॥
māyā hy eṣā mayā sṛṣṭā
yat pumāṁsaṁ striyaṁ satīm
manyase nobhayaṁ yad vai
haṁsau paśyāvayor gatim
Sometimes you think yourself a man, sometimes a chaste woman and sometimes a neutral eunuch. This is all because of the body, which is created by the illusory energy. This illusory energy is My potency, and actually both of us — you and I — are pure spiritual identities. Now just try to understand this. I am trying to explain our factual position.
Read Śrīla Prabhupāda's purport on Vedabase.io