Can be weak mixture. Maladjusted pilot screw, blocked pilot jet or slide wear.
Air leaks into the exhaust pipe, at the cylinder head, usually cause banging on the over-run.
All this assumes that your engine gets serviced according to the schedule. I don’t have much sympathy for people who ride around until the valve and points gaps close up and then moan on the Internet.