Minecraft wiki entry for Minecart_with_TNT, associated text: It moves over a powered activator rail.
It is destroyed while in motion (except by a player in Creative mode).
It is destroyed by fire, lava, or an explosion.
In Java Edition, it is hit by a fire charge.