The issue is usually one of liability and insurance and the charge is made to cover an insurance cost. After all, folk are likely to claim compensation should they incur any injury, real or imaginary, while using a Service gym. Some will not charge if the civilian user can prove adequate personal accident insurance along with a waiver not to sue the MOD. All down to our litigation obsessed society.