There’s a similar thing with chocolate: cooking chocolate is zero-rated, but VAT is due on eating chocolate. They are basically the same products: the main differences are the packaging (presence or absence of cooking instructions) and where they are shelved (with the cake ingredients or with the sweets).