The correct option is A Coal processing to get coke
Coal gas is obtained when coal is processed to get coke. Carbonisation is a different process. In this process, coal is formed from dead vegetation. The other two options (combustion of carbon dioxide, burning of petroleum) do not give coal gas.