That taste comes from a high concentration of a volatile compound known as terpenoids.
It is possible the off tasting carrot was harvested too early. Since baby carrots are not actually young carrots but cut carrots made to look young. It is difficult to know if the carrot was harvested too early.
Sometimes it is only one, or two carrots that are taste weird.
Here's what I do to limit that taste:
Wash the carrots one more time with cold water.
Put them in a water-tight container.
Cover them with water
Add a dash of salt about a 1/4 teaspoon
Shake them up and put them back in the fridge
After this salt bath, each carrot has the same consistent taste with just a hint of salt.
Add "What's Up Doc" to the comments if you are going to try this.