President Trump and Prime Minister Benjamin Netanyahu are using similar playbooks as they face turmoil.