Don’t Blame Bathsheba
Armies have for centuries kept their top generals and leaders safe in the rear ranks or, where short distances were involved, even at home. The Ammonite capital of Rabbah was less than 40 miles from Jerusalem. David could easily control the battle through reports brought to him from his trusted general Joab. Messengers could be sent out from him to alter the war strategy if necessary.