Why did England switch from being a coffee-drinking culture to a tea-drinking culture?

by no-tea

During the Enlightenment, England was famous for having an unrivaled coffeehouse culture. Now, the English are famous for being tea-drinkers. How and why did this shift happen?

AyukaVB

Sort of follow-up question:

I remember reading Niall Ferguson's 'Empire: How Britain Made The Modern World' and he proposed a claim that tea prevailed over coffee because of more favorable tax policies.

Does other research support that claim?