I would bet that this is true for whatever the opposite party in power is.
The algorithm likes negativity, and it likes notoriety. Therefore, it likes criticism from the other side.
Consider: “[current president] is ugly”
Versus: “[irrelevant nobody] is ugly”
And not only on twitter. Have you seen CNNs ratings lately?