The two nations continued to exchange fire overnight, as the region braced for a protracted conflict.