Why do you have different emotions?

Emotions happen when your conscious/subconscious is affected with what someone says, does, and even their body language can effect your emotions.