At the end of the 1800's (sometime in 1898 or so) the United States engaged in a war in the Philippines that took in a number of years on into the early 1900's. during that time the US Military was engaged in a continually running set of battles with various Muslim groups from the region. As a matter of fact there is a great deal of information on the subject if you do a search on "US Military intervention in the Philippines 1898." By doing that search there will be more than ample material for you to understand what was happening in the Philippines at that time.
The United States mater of factly took possession of the Philippines not relenquishing it to it's own soveriegnty until after World War II.