From the Super Mario Wiki
Weight Blocks are a kind of block Wario encounters during his adventures in the Wario Land series. Their appearance differs between the various installments, but they all share the property that they are not breakable by any of Wario's standard attacks. Naturally, they are placed in specific places to prevent access to certain areas. To break them regardless, Wario has to assume his Fat form. The additional weight he has in this form allows him to break Weight Blocks by jumping on top of them.
Wario Land series
Weight Blocks first appear in Wario Land II aboard the SS Tea Cup, and are a common obstacle throughout the game afterwards. They appear as brown blocks with some cracks in them. A Cook can usually be found near them, so that Wario is able to break them. The Weight Blocks also reappear in the sequel Wario Land 3, where they change their appearance, but retain their purpose. In this game, they are bright pink in color and sport a donut symbol on them. Like in the previous game, enemies invoking the Fat ability can be found near them, namely Doughnuteer or Appleby.