It’s been argued for years that Mars may have once had oceans of water, billions of years ago. Some catastrophe dried them up, making the evidence for them difficult to detect. Topographic (relief) maps look like there may have been two oceans in one spot, for example, separated by some time. There appear to be two separate shorelines, with one smaller, later ocean existing where there once had been a much larger ocean.
But that’s circumstantial. More direct evidence is needed.
So some scientists speculated a bit. Rocks containing elements like potassium, thorium and iron would get made in the highlands (near volcanoes), then get transported down into the lowlands. If there were an ocean there, those elements would get leeched out of the rocks by the water. Then, when the water evaporated, those elements would be deposited in a thin layer on the surface.