I want to know the answer to the following question:
What was being built that caused unpremeditated fighting on each side?
All the background I'm provided with is that "For months each side had been building forward rifle pits and defensive positions, which resulted in many skirmishes.". Is that enough to answer the question?
Answer: yes