From the Super Mario Wiki
Anenomes are sea creatures with long, stinging tentacles that appear in Yoshi's Story. They are only found in the level "Lots O'Fish!". Anenomes are invincible and cannot be defeated; they act as stationary obstacles, moving their tentacles back and forth in an attempt to snare prey. Occasionally, Anenomes are found with the ability to move their arms in and out. They normally guard Melons and Heart Coins, and Yoshi must dodge the tentacles and use his tongue to snag the goodies. .