Fox News’ two biggest stars traded barbs Wednesday night after Megyn Kelly suggested Sean Hannity was the last remaining media personality to provide a safe space for Republican presidential nominee Donald Trump.

Ms. Kelly was criticizing both Mr. Trump and Democratic nominee Hillary Clinton for avoiding tough media interviews when she brought up Mr. Hannity, whose show airs just after hers.

“They’re both in their own version of a presidential protection program,” Ms. Kelly said on “The Kelly File.” “[Mrs. Clinton] is not in a place where she feels uncomfortable or anything unexpected could come at her, which is why she sat for a half an hour with Mary J. Blige, the singer, which is why she did ‘Entertainment Tonight’ this evening.”

“Donald Trump, with all due respect to my friend at 10 o’clock, will go on Hannity and pretty much only Hannity, and will not venture out to the unsafe spaces these days, which doesn’t exactly expand the tent,” Ms. Kelly said.

Mr. Hannity fired back on Twitter, accusing Ms. Kelly of being a open supporter of Mrs. Clinton.

“U should be mad at @HillaryClinton Clearly you support her. And @realDonaldTrump did talk to u,” Mr. Hannity wrote.

When another Twitter user told the conservative host that he should stand by his colleagues, Mr. Hannitywrote, “Sure. When they stand by me.”

Mr. Hannity is a vocal supporter of Mr. Trump’s candidacy and has had the Republican on his prime-time show numerous times.

Ms. Kelly has not yet issued a response.