The president said Dan Caine once offered to kill for him and slapped a signature red hat on his head, a violation of military rules.