From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Sad_Rex&oldid=2253247"
A Sad Rex is an enemy found on Vibe Island in the game Super Princess Peach. Sad Rexes are Rexes that have been affected by the Vibe Scepter. Sad Rexes, like Sad Goombas, are simply sad Rexes that will simply sit in one location and weep. However, when Princess Peach approaches one, the depressed dinosaur charges at her. They are found mostly at Fury Volcano.
According to the game's Glossary, the Sad Rex "gets sad and attacks when it sees an enemy."