The two reasons for creation are “upadana karan” and “nimitta karan”.
“Upadana karan” refers to the material cause or the substance that is used to create something. In other words, it refers to the raw material or the building blocks used in creation.
“Nimitta karan” refers to the instrumental cause or the factor that triggers the creation process. It refers to the agency or the force that initiates the creation.
In the case of the spider and the web, both these causes become one. The spider uses its own substance or material to create the web, and it also acts as the instrumental cause or the force that initiates the creation of the web. Thus, the spider itself becomes both the material and instrumental cause of the web.
Similarly, in the case of a dream, the dreamer’s own mind acts as both the material and instrumental cause. The dreamer’s mind uses its own material, i.e., the thoughts, memories, and impressions stored in the mind, to create the dream. At the same time, it also acts as the instrumental cause, initiating the process of dream creation.
In both cases, the material and instrumental causes become one, highlighting the interconnectedness and interdependence of all things in the universe.

Thoughts come out from pure consciousness due to the faculty of consciousness called imagination (maya). Since one thought is separate from another thought from the perspective of individual thought, there is manyness. Every thought is a separate thing/being from this relative standpoint. However, each thought is made of consciousness itself and hence what appears to be many from the perspective of an individual thought actually is one from the perspective of consciousness.