Answer:
this is no new trick. what one first must recall is that electricity occurs in so many varieties. perhaps even some waiting to be discovered. but from the time the Greeks realizes that, the bottom line is that acid (citric acid in this case) creates an endothermic reaction when combined with a base (zinc or maybe even copper) and, yep electricity. no mystery.