Why were the first political parties created?

Thomas Jefferson [& James Madison] had issues with everything Anthony Hamilton did and vice versa. After George Washington [the president at the time] continually passed bills proposed by Hamilton, Jefferson got really upset and quit. He went back home and created the Federalist Party. The first two parties in America were the Federalist and Anti-Federalist.