From what I gathered, the lawsuit is asserting that the US Navy is not abiding by the Religious Freedom Restoration Act. I understand this to be outside the scope of a court-martial, as this is federal law and not from the Uniform Code of Military Justice.