The short answer
Dwarka sits on the Gujarat coast, where the Gomti River meets the sea. Near that river mouth, sea water and river water mix. Groundwater along the coast can also be salty, either naturally or because seawater has moved inland. Both can add salt to the water you taste. No official explanation for the taste of Dwarka’s water was easy to find, so the best answer is the location rather than one known cause.
Where the river meets the sea
The Gomti flows past the Dwarkadhish Temple and reaches the sea at Dwarka. Where a river meets the sea, tides can push salt water upstream. This effect is strongest when the river carries less fresh water, such as in dry periods. Visitors at the Gomti Ghat often describe the water as salty, which fits that pattern. Those are visitor impressions, though, not test results.
Salty groundwater on the Gujarat coast
Gujarat has the longest coastline of any Indian state, and salty groundwater is a known problem along it. Some coastal aquifers hold salt water naturally. Seawater can also move inland into fresh groundwater when wells pump heavily. This is called seawater intrusion. A coastal salinity prevention cell works in villages across Devbhoomi Dwarka and neighboring districts, which suggests the problem is recognized in this part of the state.
What is not known
Public test results for the water supply in Dwarka were hard to find. Water can differ by neighborhood and by source, so the taste at one tap may not match another. The salt most likely comes from the location, but no single cause has been confirmed for the town.
Water for visitors
Drink sealed bottled water, as you would when traveling anywhere. Ask your hotel where its water comes from and whether it is treated. A salty taste does not tell you whether water is safe, so do not rely on taste alone.