Because they'd file the same suit if a Democratic president took similar actions. In fact, they already did[1]. They're not working for the benefit of either party, but rather for the general protection of the civil liberties of people in America, regardless of politics. They've historically represented many different viewpoints, up to and including literal Nazis [2].