Maybe some borders are that way but not all. The thalweg is the US-Mexico border along the Rio Grande and the International Boundary and Water Commission semi-regularly swaps territory to deal with the changing border.