Because the bad guys knew he was a Patriot, would not be on their team. They were afraid of him and had to get rid of him. Remember, they wanted to fire him, and when the evil queen lost they didn't want him on the Trump Train.
Remember Peter Strzok: First we fuck Flynn then we fuck Trump.