The Phillipines had a communist threat, and it came from within through a communist insurgency. The Philippines was near China as Japan was.
Besides, Japan was always a liberal democracy throughout the Cold War, while the Philippines lived that period mostly through a dictatorship under Ferdinand Marcos.
It peaked during the early 1950s, after which it fell apart and devolved into groups of bandits extorting from infrastructure project developers. In several cases, it was even buying firearms from corrupt military officials.
Also, the Philippines is overwhelmingly Christian, which is why it was never even close to China when it comes to Communist successes. That's why Philippine Communists were forced to use NGO fronts and political parties to disrupt legislation while getting donations from gullible Westerners.
About Japan being a liberal democracy, what many probably don't know is that it's been run by a single political party for more than fifty years. What's funny is that it's the Liberal Democratic Party, which is not exactly liberal or democratic. It's actually a conservative party that's been promoting the equivalent of nationalist, pro-Japan policies aka The East Asian Miracle since the end of WW2. It could no longer do that by the 1990s because the country reached late capitalism.
One more thing: Marcos is known as a dictator but legally there's more to that. What he did was took advantage of provisions in the Constitution to declare Martial Law, and then when that expired managed to use a packed assembly to call for charter change and switch to a Presidential-Parliamentary system to continue his reign. A dictator wouldn't bother with doing things legally, which is why some of his opponents refer to his admins as a "Constitutional dictatorship."
Here's where things get weird: when Aquino took over, she did so with no evidence that she won the snap elections. (As I recall, a year later, the only conclusion that watchers could make is that the election results are questionable due to allegations of corruption, but that meant no winner could be declared.) She ordered all officials in national and local governments to step down, replaced the Supreme Court, and then made executive orders while awaiting legislative elections and a plebiscite for a new Constitution. If that's not a dictatorship, then I don't know what is.
Finally, to connect these points to the topic thread, the Philippines did not industrialize not only because it was colonized by Spain (which implemented reforms too late) but because it was colonized by the U.S. which assumed that the country was ready for democracy and independence while keeping it on a tight leash via the Bell Trade Act.
That's a critical point because there's a possibility that the U.S. began to turn against Marcos, which it supported, because he didn't allow for the extention of the act, and supported Aquino and subsequent Presidents because a combination of liberal democracy (which a country dominated by political dynasties and poor education was not ready for) and neoliberalism, which with partial protectionism (foreigners could not be majority owners of businesses, which allowed the local elite to corner markets), made the country permanently dependent on the U.S., i.e., neocolonialism.
The implication is that there's more to this topic, i.e., neocolonialism and making countries "Third World", than the thread starter thinks.