Smoke travels
A fire doesn’t stay where it started. Heat drives smoke through the building, including into rooms that never burned. It travels through gaps around outlets, ceiling penetrations, wall cavities and ductwork.
Along the way, it leaves two things behind: visible soot, and a thin, oily residue that carries the odor. The soot you can wipe off. The residue is the real culprit, because it doesn’t stay put.