The US president has had a tense and fiery relationship with the US media since returning to office.