That is a meaningless statement by itself, and "making an explosion" does not merit punishment in and of itself. You may as well say "Stan was clearly intending to make a fire (A small one, but one nonetheless). ...intentionally creating a fire on school grounds definitely merits punishment)" What do we mean by fire? Did he set his desk ablaze, or did he light a wooden splint? "He intentionally set a fire" gives us no basis to make a blanket judgement.
Explosions do not inherently merit punishment, just as fires do not. The massive range of intended harm and magnitude that could be encompassed by the general description "explosion" or "fire" means that these acts cover everything deserving of "a stern look from the teacher" to "lock them away and throw away the key".
Edit to add: When I was in 10th grade my physics class was making alka-seltzer rockets in the football field. A few of us threw a bunch into a 12-oz pop bottle and blew it up. We got an eye-roll from our teacher; it wasn't even considered worth a comment.