This is called the surface runoff. It is part of the water cycle when the water from the mountains flow down to the rivers and empty out to the seas and oceans. Or it could also flow down through the soil. As it flows, it carries nutrients like nitrogen and sulfides, so that's why the oceans are salty because of surface water runoff.