From the Super Mario Wiki
The Bomberry is a fruit that appears in Yoshi's Story. They resemble yellow and red eggplants and are covered in green spikes. Bomberries appear during the Jungle Puddle stage of the Jungle page. At first, they are invisible, but once the player walks past them, they begin to grow to full size. They will continue grow until their weight causes them to fall off into the water, where they slowly sink to the bottom. A new Bomberry then grows from the original spot after a while. Getting in contact with a Bomberry causes Yoshi to make his life meter lose some petals. Eating it will also cause Yoshi to lose petals (except for the Black and White Yoshis).