(a) There is no contradiction. "Inert in the presence of most reagents" means that saturated hydrocarbons do not react with substances such as acids, alkalis, bromine water or oxidising agents like potassium permanganate at room temperature; they have only strong single C–C and C–H bonds and no double bond that can open up for addition. Combustion is different: it is a reaction with oxygen that, once started, releases a large amount of heat and light. Saturated hydrocarbons burn readily in air, giving carbon dioxide and water with a clean blue flame:
CH4+2O2→CO2+2H2O
2C4H10+13O2→8CO2+10H2O
Being unreactive towards most reagents is actually an advantage for a fuel: it can be stored in a cylinder or piped safely without reacting with its container or the air until it is lit.
(b) At room temperature the methane–air mixture does not react on its own, because a fuel must first be heated to start burning (this is the "fairly unreactive" behaviour). The spark supplies that initial heat to a small part of the mixture, and combustion begins there. The burning gas then releases a lot of heat, which heats the fresh gas coming out of the burner enough for it to burn as well, so the flame keeps itself going as long as gas and oxygen are supplied.
(This is also why leaked gas is so dangerous: a mixture that seems harmless for hours can be set off by a single spark from a switch.)
