Legend of Mana: Teardrop Crystal

After nearly all the Jumi died, the player character shed a tear for them and turned into stone since anyone who cry for Jumi get petrified. The tear then becomes a Teardrop Crystal and revive all the Jumi who then cries for the player to bring him/her back to life. It makes sense in the context of the game, which gives a lot of details through the whole Jumi arc to understand.

Also, from the beginning of the game, the player can choose to play as either a male or female protagonist to later be turned into stone as. There's also an anime of the whole Teardrop Crystal arc and adapts this scene in episode 12, in which both the male and female protagonists, named Shiloh and Serafina turn to stone. There's also a manga adaptation but only the male protagonist petrifies there.