A car explosion that injured seven New York City firefighters was the result of a cigarette butt, officials said.