Some aircraft guns use multi-round clips, and these will be fully replaced after combat, even if you fired just 1 round. To save ammo, you can disable a weapon (in battle or in base) by clicking on its icon. Such a weapon won't be reloaded.