The president has consistently feuded with news organizations and at times tried to ban them and their journalists from the White House.