It is not clear whether Bathsheba came to David’s palace by her own choice. David was the king, and Bathsheba was a subject under his authority. This unequal power relationship means that she may not have been free to refuse his summons.
The text does not record any protest from Bathsheba, unlike other passages where protest is clearly stated (compare 2 Samuel 13:12–13). Afterward, she married David, bore him another son, and later urged David to name their son as heir (1 Kings 1:11–21). These details may suggest willing cooperation.
However, other details point in a different direction. Bathsheba mourned for her husband Uriah (2 Samuel 11:26–27), and the text places blame only on David for what happened (2 Samuel 11:27). Given David’s authority and Bathsheba’s vulnerable position, it is also possible that she was taken against her will.
The phrase about her menstrual period (see Leviticus 15:19–24) shows that Bathsheba could not have been pregnant by Uriah. It makes clear that the child she conceived must have been David’s.