Terrified locals hid inside their homes during a firefight between communist rebels and the military in the Philippines.