From the Super Mario Wiki
Bazooka Heyho are enemies in Yoshi's Crafted World, Shy Guys armed with bazooka-like weapons. They use these weapons to defend themselves, methodically shooting cannonballs when Yoshi approaches. These cannonballs explode and harm Yoshi if touched. Like most Shy Guys, Bazooka Heyho come in a variety of colors, and can be defeated with any attack method. They can also be turned into eggs. Bazooka Heyho appear in Mr. Geary's Factory, in which they are the most prominent enemy. They reappear in Floppin' and Poppin', also as the prominent enemy.