How can solids undergo combustion if it only occurs in the gas phase?
Combustion is a gaseous phase phenomenon. Oil and gasoline have a high enough vapor pressure at ambient temperatures to produce a gaseous phase of fuel above the liquid. In contrast, hold a lighter up to a piece of wood and try to get it to light. It won't—at least not for quite some time. This is because solid fuels must first undergo endothermic pyrolysis before real combustion can occur. This produces a slew of products which are what truly undergo combustion when solids are burned. Because combustion is exothermic, once a high enough temperature is reached the solid will autopyrolyze, making combustion a self-sustaining reaction.