the barkbeast parts have probably made it recognize chocolate as a poison, human bodies are made to do that and thats why such bitter tastes exist in foods that are edible regardless, its just the body firing a warning shot before you digest something actually lethal. it probably just tastes really bad to you but can still be digested without killing you.