Yoga Sutras 2.24
Patanjali, explained by Swami Vivekananda
तस्य हेतुरविद्या ॥
tasya heturavidyā
Ignorance is its cause.
In plain words: This joining of the Self with nature is caused by ignorance, meaning not knowing who we really are. Because of it we think we are this body, and so we open ourselves to misery.
Swami Vivekananda explains
Through ignorance we have joined ourselves with a particular body, and thus opened ourselves to misery. This idea of body is a simple superstition. It is superstition that makes us happy or unhappy. It is superstition caused by ignorance that makes us feel heat and cold, pain and pleasure. It is our business to rise above this superstition, and the Yogi shows us how we can do this. It has been demonstrated that, under certain mental conditions, a man may be burned, yet he will feel no pain. The difficulty is that this sudden upheaval of the mind comes like a whirlwind one minute, and goes away the next. If, however, we gain it through Yoga, we shall permanently attain to the separation of Self from the body.