What was controversial about the election and Jefferson’s win?

In short words.

The election of 1800 was controversial because it was the first time in US history that power had been peacefully transferred from one political party to another. Jefferson's victory over incumbent President John Adams was seen as a major shift in the political landscape.