She is working to hurt Trump and set herself up for a third party run.
The problem with the third party run is she could only appear on the ballot in 16 states. But I agree she is trying to hurt Trump, and by extension republicans who support him.
https://ballotpedia.org/When_states_adopted_sore_loser_laws