When there is contact with external things, the internal senses come to grip onto them. That is the origin of emotions. In Buddhism, it is called ignorance or ignorance of the nature of things.