Black powder is an explosive. Gun powders are fast burning propellants.
This gets repeated with surprising frequency. It is at least misleading if not outright false, and the point of saying it is unclear.
First, black powder is (certainly used as) gun powder. So it doesn't make much sense to say that black powder is an explosive but "gun powder" isn't. To talk about "black powder" vs. "gun powder" is to confuse a chemical/physical description (in terms of composition and properties) with a functional one (what the stuff is used for). A lot of people seem to believe that the distinction is that black powder "detonates" but smokeless powder does not, but smokeless powder will in fact detonate quite easily, and this is why it can be used to make bombs.
Next, so-called "smokeless powders" are in fact universally regarded in law and regulation as a "type" of explosive, and certainly can be employed to cause explosions in any reasonable sense of that term. Black powder is classified in the federal Code of Regulations as a Class 1.1 explosive, and smokeless powder is classified as a Class 1.3 explosive. "Explosive" is defined in that context as "...
explosive means any substance or article, including a device, which is designed to function by explosion (i.e., an extremely rapid release of
gas and heat) ...". But note that the distinctions imposed in these classifications here in the Code are within the context of an unconstrained "burning" of the substance itself and don't consider the phenomenon of explosion when the substance is constrained (as, for example, in a cartridge, some sort of a container, a gun barrel, or a pipe bomb).
There is a technical distinction between detonation and deflagration, and between primary and secondary explosives (not to confuse that with a distinction between low and high explosives). It's all a bit complicated and technical in terms of the actions that take place at the molecular level and how that affects rate of combustion, etc., but yeah ... what we call "smokeless gun powder" is an explosive, and there's no useful point in saying it's not.
A good amount of the detail of this, presented in an understandable way and without lots of math is here:
You can make distinctions and split hairs about what "explosive" means and how the word should be used, and in certain contexts there may be some point to that. But in any normal sense of the term (including in both physics and law), both black powder and smokeless powder are explosives -- and any distinction you want to draw at least needs to make clear what your purpose is on insisting on calling the one "explosive" and the other not. The whole subject of explosive/non-explosive is also discussed in any number of other places on the web. You just have to look.