But a railgun is much cheaper per shot, and reloads quickly. Kinetic orbital strikes take a l-o-o-o-n-g time to reload.
And, the local commander decides when to fire the railgun. How many layers of brass are involved in calling in a strike from orbit?