Regardless of justice, this type of lawsuit isn’t in the interest of any reasonable world order.
They are suing sovereign countries for assisting in an attack on Israel. In a US federal court. With no treaties backing the suit; just a law passed unilaterally by the US.
That is not the way international law works at all. By the logic, Peru could pass a law allowing it’s citizens to sue the US because they have family that took a vacation in mexico where they were shot by a US gun.
This should be viewed in context of the US’s refusal to join the ICC, and the “Hague Invasion Act” (American Service-Members’ Protection Act) that authotizes unbounded military force against the ICC if it acts against anyone working for the US or a US ally. As well as a bill passed in the house attempting to sanction the ICC for its move against Israeli leadership.
The entire theory behind being able to have such a lawsuit in a US federal court is US imperialism.