Philippine President Rodrigo Duterte has criticized the US for its behaviour during the colonial period.