That would be a pipe bomb.
I think cannon that “went all pipe bomb-y” would be more apt - obviously didn’t use barrel-grade pipe ...but the end wasn’t purposely sealed like a pipe bomb...
Made a few myself when younger and into making my own black powder...it’s what teens do...but this guy should have outgrown it...or killed himself with stupidity before now.