It’s effective because the tanks don’t work well at sea.
US Navy is using heavily armed marine vehicles (I didn’t pay attention to which ones) on deck to thwart Iranian fast boats in the Persian gulf.