The GOP only turned their back on Trump because of how poisonous he's become to their brand, as evidenced by their piss poor performance in the recent midterms.
Just because the two parties have come out against Trump doesn't mean their motives are the same.