The Framers included both Article IV, § 4, which promises that the federal government “shall protect each [State] against invasion,” and Article I, § 10, Clause 3, which acknowledges “the States' sovereign interest in protecting their borders.”
Barbwire is set up at the border to cause damage. It is actually even worse than not having it, since border agents are required to seek medical assistance for any individual hurt during an operation.