Un burned fuel exploding in the exhaust system! That is the physics of a backfire. It may be cause by rich/lean carburator setting , advanced timing , condenser etc , it is a result of the OTTO cycle of the engine being off for some reason!
I think this topic was well covered jus a few days ago on this very forum. Use the search facility and you'll get every bit of info and opinion possible.