Why did congress impeach President Johnson?

It was mainly because he fired Edwin Stanton, Secretary of War, which violated the Tenure of Office Act.
Hope I helped :)