Here I can’t sue mr Amash if I disagree with his bill, but I can sue him as a private citizen if he violates my civil rights as a person.
In the case of Federal Legislators, their immunity is written into the constitution explicitly.
No such explicit provision exists for government employees.