You have a few things to check, first off a backfire is usually associated with a timing issue, you would notice a difference in ow the engine runs, it will lack power and be rough.
Next a backfire requires unburnt fuel, so check the ignition system for problems, bad or incorrectly gapped plugs, bad wire, and if it's older look for a cracked distributor cap or worn rotor.
Then look to the fuel system, it may be getting more than it can burn.
Lastly valves, you may have a bent one, or one that is not opening or closing completely.
Incorrect Timing Can Cause Backfire.
what is making my Lincoln ls v8 backfire under the engine
A flame arrestor. This prevents a backfire from igniting gasoline vapors in the engine compartment.
Several things could make a carburetor backfire. The engine could be out of time. the carburetor could have a stuck float, or the engine could have a stuck valve.
No, backfire is usually caused by park plug wires that are installed incorrectly or an engine that is out of time. Fuel filter and pump will not cause backfire.
Engine Timing, Unburnt Fuel
Backfire is normally caused by engine out of time, or spark plug wires installed incorrectly.
Prevents possible engine fire
Timing is off ...
Incomplete combustion
somtimes usually not
a boat with a gasoline inboard engine