One of the things that can cause flooring to get dirty is water seeping through the cracks in the wood. Additionally, pet hair and other debris can accumulate on the surface over time, eventually leading to a dirty floor.