Yes, but there is history behind this seemingly reckless move.
Israel attacked the USS Liberty off the Sinai peninsula in 1967 with jets and multiple torpedo boats trying to sink it. The USS Liberty was not a war ship but a scientific ship being used to surveil Israeli-Egyptian engagements. After surviving hundreds of holes and a 37' diameter hole at sea level by a torpedo ship, the USS Liberty would not sink. Israel dispatched several attack helicopters to finish the job but the pilots refused to engage and pulled away stating it doesnt look like a war ship and citing a lack of response on the ship.
The USS Liberty had no mounted cannons or guns, except a 50cal machinegun and there was no way to mistake the US flag until the flagpole was shot down; therefore it could not have been mistaken as an Egyptian warship in direct fire range. There were quite a few Americans kill and, if remember correctly, 130 some odd injured. This was deliberate attack but ordered by whom?
If you are of the cynical type, there is a theory that this was a false flag ordered by the LBJ administration as a means to blame Russia and get them pulled into the fight. Had the USS Liberty sank, nobody would have known anything different than the official narrative, which likely would have been different.