Investigators say a fire at a Baldwinsville apartment complex that displaced eight families was caused by a cigarette left in an ashtray, and the fire was an accident.