Every human (in fact living organism) has thoughts throughout the lifetime.
Thoughts occur to humans during jagrit and Swapna avasthas.
Modern science believes that the brain is responsible for the generation of thoughts in a human being.
In Hinduism, it is generally believed that para brahman generates thoughts for an individual and the human may feel that the thoughts are generated by own self.
Do any scripture explicitly tells that the para brahman is the only entity responsible for the generation of thoughts based on the samskaras/karmic impressions of the jiva?
Note that para Brahman in this question refers to either saguna Brahman or nirguna Brahman...