The US Secretary of State said the controversial project "undermines basic EU principles" and poses a challenge to Ukraine and Poland.