When the soapy water is spilled on marble tiles they fills the irregularities in the tiles and make them smooth.
→ As they get smooth after the irregularities get filled the frictional forces created due to the contact of our feet with the floor decreases.
→As frictional forces is necessary to walk easily but there is a lack in that force , then it becomes difficult for us to walk.