strolled around on the roof: The roofs of houses were flat and often used for different activities, like drying and storing food (Joshua 2:6), walking and socializing, and sleeping in warm weather.
Bathsheba was bathing in clear view from the roof of the king’s palace. She might have thought everyone was inside, escaping the heat or taking a midday rest.