A growing list of prominent Republicans have offered criticism of the president as he fights for re-election.