There's two big reasons behind agencies changing weapons frequently. One is the labor cost to maintain via a unit armorer as outlined above.
The second reason? Most individuals in a government agency that issue weapons flatly don't care. Maybe two people in ten are "gun guys" who care about maintaining their duty guns. The rest? They'd probably never shoot or clear/clean their issue weapon again unless forced to; and training people to be self-armorers also costs money and time.
By replacing the guns frequently not only does an agency save money on labor , they also incidentally ensure Joe Patrolman isn't walking around with an unservicable gun because he hasn't maintained it since leaving Academy 15+ years ago.