The United States on Wednesday condemned what it called a "terrorist" attack by a Palestinian who rammed his car into pedestrians in Jerusalem, killing a baby.