From the Super Mario Wiki
Retrieved from "http://www.mariowiki.com/index.php?title=Pyro_Box&oldid=1886607"
Pyro Boxes appear in all of Bowser's levels and Lethal Lava Land. Two also appear in Rainbow Ride. These boxes are diamond-shaped with a hole in the center. About every three seconds, a Pyro Box shoots a stream of fire from its center. Pyro Boxes cannot be destroyed.
If hit by the flames, Mario will lose three life points. Additionally, Mario will run around uncontrollably, possibly forcing the plumber over the edge of a cliff. If Mario jumps around while he's on fire, he may only take two points of damage.