Tskhinvali is recognized as part of Georgia by all countries apart from Russia and a couple of its close allies. The Russian “peacekeepers” were based in Georgia.
So the Georgians attacked their own city and killed their own civilians (and Russian troops) first.
“BBC describes evidence of Georgian war crimes in South Ossetia...”