The Israeli military says it views with "great severity" the actions of the soldier, as the US ambassador demands "swift" consequences.