I don't think it's a bug as much as a feature
Since provincial population aren't units (they're stored as a single integer), someone most likely programmed the game to give experience to commanders who decimate population in such ways. Pillaging, Black Death, etc, do not grant experience, so the mechanism appears to work solely with BVC and Harvesters.