Murphy's 20th Law of Combat, "if the enemy is in range, so are you". Thanks to our technology that's not always the case, but if we're close enough for the people of Gaza to stare in wonder at a ship that costs more than three times their annual GDP, we are in range.
Editing because I was a bit of a douche and I realize I don't need to be that way.
Yeah, rockets and IDF are definitely a thing. But they're not going to do that to the Ford. That would be very dumb, even for Hamas.