Warning comes as Trump criticises Netanyahu over Israel's attacks on Lebanon.