The president is confronting crises that have left Washington unsettled and his own political standing diminished early in his second term.