It is because introducing a new border with with a regulation has an impact on the cost effectiveness of goods moving across every other border you have, and of producing the product internally. In this case the "cost" includes the consequences of time delays as well as the more straightforward money.