Plus, I bet somebody would work out who did it if a country used a nuke to create a wave, there are only a couple candidates for who could do this sort of thing, after all. I bet it would have pretty significant diplomatic ramifications to… inconvenience a carrier group for a couple minutes.
Not very effective.
Tsunami waves move huge volumes of water, but in the open ocean they are also very long waves. Their travel speed is about the same as the "linear long wave speed", or about sqrt(g*D) where D is the depth of the water.
As these waves approach the shore, however, the ocean becomes more shallow. Waves slow down. The tsunami effectively "piles up" on itself, and a wave that was a little high and a lot long becomes a wave that's a lot high and a little long.
A carrier operating away from shore would see the tsunami in its more benign state. Coastal cities, however, would be in trouble.
I know very little more than that, but it was in the news here some years ago.
I do know it was a failure, quite a comprehensive failure