White House spokesman Hogan Gidley on Sunday accused former White House Communications Director Anthony Scaramucci Anthony ScaramucciFormer DeVos chief of staff joins anti-Trump group Scaramucci to Lemon: Trump 'doubling down' on downplaying virus 'should scare' viewers Sunday shows - Leaked audio of Trump's sister reverberates MORE of “trying to profit” off President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE’s name with a recent string of media appearances criticizing the president.

Gidley said on Fox News’ “MediaBuzz” that people like Scaramucci are “considered persona non grata if they’re in Donald Trump’s orbit and support this president, but the moment they say something bad about the president, they all of a sudden become the toast of the town.”

ADVERTISEMENT

”I’ve seen it time and time again, it is instantaneous. When you have a chance to make money and profiteer off of the mocking, pushing against the present, people do it all the time, and in this instance it is no different,” the deputy press secretary added.

Appearing on the show in a later segment, Scaramucci told host Howard Kurtz he did not blame Gidley.

“Hogan can say that, I get that,” Scaramucci said. “He’s got a very tough job, I don’t even take it personally. I’m sure he’s terrorized in fear most of the day from dealing with the guy, but I get it.”

Scaramucci, who lasted 11 days in his White House position, continued to defend Trump in media appearances after his firing, but publicly broke with him in recent weeks, tweeting that Trump’s “increasingly divisive rhetoric — and damage it’s doing to fabric of our society — outweighs any short-term economic gain.”

He said last week that it was "pretty obvious" he didn't support Trump's reelection.

Trump has fired back at Scaramucci, tweeting that the former aide has “gone off the rails” and accusing him of being embittered by his inability to get another White House job.