To dominate sea, control trading routes in case of war and if you can't deploy forces in allied nation , deploy in international waters to keep greater access. Basically all about control, it's not easy to sink warships. Not because they have missile systems onboard. But because of jamming technology of other weapons systems in the area that have anti ship missiles. The United States has advanced jamming techniques and I'm sure there's more than just jamming, they can alter GPS , targer radars , satellites, worst comes to worst can use emp bomb but this would result in humantarian crisis.
Most weapons can't be effective if you don't have plan B, C and D. For example Iran, they have missiles that sound good on paper. But in reality they don't have plan B if US manages to disable their weapons systems whichever way how, I'm not too knowledgeable about these methods. But Russia on other hand is more advanced in anti jamming tech, they have their own satellites and can secure them well. And so on.