because chocolate is known to give power of love,which believed to arouse passion,it also it contains tryptophan and phenylethylamine, the two chemicals which affect brain pleasures and reward center ,hence influence your mood and is it a way to someones heart.