Piñatas are made and designed explicitly to be smashed open to get the treats inside.
We’re not buying brand new iPhones and smashing them, or buying food and making stupid “recipes” for rage bait.
I don't know. I broke a lot of things when I was a kid, mostly because I was excited to see how they work, but have no knowledge of their value or how to safely disassemble them. I don't do it as an adult because I now have that knowledge. So don't judge a kid as an adult.