Why it happens
Tiles themselves are glazed and easy to wipe. The grout between them is not. Grout is a cement-based material with a porous surface, so every mop, splash and shower pushes a little dirty water into it.
Over months it changes colour from white or light grey to dark brown or black. In bathrooms, the constant damp gives mould a place to grow in corners and around the shower. In kitchens, backsplash grout soaks up cooking oil and turmeric.
That is why a floor can be freshly mopped and still look dirty: the grout lines hold the dirt that mopping cannot reach.
