This was a misconception brought about by people assuming coffee and tea were against the W of W because of caffeine. However, if it was caffeine many more things would have been banned, e.g. chocolate. The Church finally clarified it so we shouldn’t have the same misunderstanding.