Afghan and Pakistani border guards confronted each other at a main border crossing linking Chaman , in Pakistan , and Spinboldak , in Afghanistan , causing the crossing to be closed for the day , police officials said .