1.) It's Palestinian territory and territorial waters.
2.) Any action against the ship in international or Palestinian waters constitutes and act of Piracy.
3.) Acording to the 1927 Lotus case this would earn the IDF the label of hostis humanis generis - enemies of mankind. https://x.com/Jerusalem_Post/status/1931847147353166048