If it's iron it can come from the fill water, from pipes, from something metal that rusted in the pool, etc. Get it checked and once you know if there is metal in the water and what kind it will be easier to try and determine where it came from