So were George Washington, John Adams, Patrick Henry, Thomas Jefferson, and their co-conspirators. But they won their war and ejected from their precincts anyone capable of arresting them and trying them for treason. That is the difference; that is why today we consider them heroes, brave souls: they earned their hero status by force of arms. If Robert Edward Lee and Jefferson Davis had won their war, people would not call them traitors either. But they lost, so people like you refer to them this way.
History is written by the victors.
Yer dern tootin. The Rebs lost. The Union side gets to write the history. Therefore, the Rebs were traitors. Gee...that was easy.