For reference Article I, § 10, Clause 3 of the federal US constitution says:
No State shall, without the Consent of Congress, lay any Duty of Tonnage, keep Troops, or Ships of War in time of Peace, enter into any Agreement or Compact with another State, or with a foreign Power, or engage in War, unless actually invaded, or in such imminent Danger as will not admit of delay.
So it looks the TX gov is trying to supercede federal policy on the border by claiming an invasion, empowering the state to do whatever it wants