Spiked Fun Guy (Super Mario World 2: Yoshi's Island)
From the Super Mario Wiki
Spiked Fun Guy is a small, green type of Pokey in Super Mario World 2: Yoshi's Island and its remake Yoshi's Island: Super Mario Advance 3, they inhabit a handful of stages. Ordinarily, they merely move back and forth along the ground, bouncing back when they collide with a wall. As they move, they rapidly contract their heads up and down. A bouncing version in a pot also exists.
Names in other languages