As the protesters approached the border crossing, the National Guard closed the entry gates to Mexico, sparking frustration among motorists heading toward Tijuana.