This is likely caused from using products not recommended for wood floors, such as oil soaps.
It is very important when purchasing products to be used on your hardwood floors that you carefully read the instructions. Remember, you never want to soak your wood floors with any kind of liquid.