What the caffeine is doing is the plant manipulating the bee in a way that is good for the plant, but not so good for the bee because the bee is kind of being tricked into thinking that the nectar is of a higher quality - that is it has more sugar than it really does.