The origin of thinking is some perplexity, confusion or doubt.