[noun A] + が + [noun A] + なら、[noun B] + も + [noun B] + だ [noun A] + も + [noun A] + なら、[noun B] + も + [noun B] + だ
AがAなら、BもBだ criticises two related people at once: A is bad, and B is no better. Each noun is said twice, with nothing to say what is wrong with them; the repetition carries the complaint. The first half takes が or も, the second always も.
The nouns are not swapped for a description of the fault. What is wrong goes in a sentence after it.
が and も in the first half mean the same, and both are common.
These go beyond two nouns.
The pair is often the two sides of one act, written with ほう方 after a verb: the one who does it and the one it is done to.
XもXだ on its own says that X is also at fault, once someone else has already been blamed.