How did the whiskey rebellion create two political parties?

The Whiskey Rebellion did not create two parties, it was the other way around. The Whiskey Rebellion was the final event of conflict that the first two parties in the United States, the Federalist Party and the Democratic-Republican Party, had been building towards. The Federalists were in favor of a strong federal government and economic development. The Democratic-Republicans favored states' rights and agrarian, democratic interests. The Whiskey Rebellion was a result of the Federalist government imposing a tax on whiskey that was unpopular in the West, where whiskey was a common commodity and source of income. The Democratic-Republicans opposed this tax and supported the rebellion, while the Federalists supported it and eventually put it down.