Duerte is cozying up to China strictly to spite the US. Obama had the temerity to suggest maybe gunning down drug addicts in the street wasn't the wisest policy. Sooner or later the Chinese will do or say something that he'll also take as a personal insult and tell them to fuck off too. He's going to leave the PI militarily weak and friendless in a neighborhood where it's unwise to be either.