Most interpreters of this story have ignored the inherent power differential between a king and one of his female subjects; and this king was invested not only with political power, but spiritual power.
There is no word here that Bathsheba had done anything to displease God. She is not a co-conspirator. This deed was David’s and David’s alone.