Answer:
Because of the Americans
Explanation: well actually we did not gain independence the filipinos and americans teamed up againts the spaniards but it turins out it was just a "mock battle" the americans and spaniards planned to do a "mock battle"