If the target creature is an illegal target by the time Pongify tries to resolve, the spell won't resolve. No player creates an Ape token. If the target is legal but not destroyed (most likely because it has indestructible), its controller does create an Ape token.

Artwork
Loading artwork…
Pongify
Star Trek Commander · #441 · EN
Nonfoil—Foil—
Card rules
Destroy target creature. It can't be regenerated. Its controller creates a 3/3 green Ape creature token.
"Captain, I believe the crew is de-evolving." —Lieutenant Commander Data
Uncommon · Illustrated by Andreia Ugrai
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
PreDH Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions