TNT has nothing to do with dynamite or Nobel. It was discovered years before dynamite was invented, however it wasn’t used as an explosive at first. And dynamite is just a mostly stable preparation of nitroglycerin. Nobel didn’t discover any new explosive compounds, he literally just mixed stuff with nitro.