When Spain colonized the Philippines, they were administrated by Mexico City. So it was Mexican Spanish, not Castilian Spanish, that influenced Tagalog.
Lorsque l'Espagne colonisa les Philippines, celles-ci furent administrées depuis Mexico. C'est donc l'espagnol mexicain, non le castillan, qui influença le tagalog.