Tagalog actually originated with its own alphabet with figures representing a sound much like the Korean script. This alphabet was too intimidating for the spaniards so they incorporated the roman letter alphabet and the vowels are identical to spanish vowels. Some assume that since many words are identical or close to spanish words that the language follows suit to the spanish grammar. This is not true! Tagalog is an Asian Language and the Philippines is an Asian Country so the language and culture is Asian with the grammar following suite to the evolution of Tagalog in Asia.
You're welcome!