The rule exists to simplify aerospace combat, which already mashes weapons together into bays and fighters into squadrons. An LRM bay firing mixed inferno, Thunder, smoke, and standard missiles is just a rules headache waiting to happen.
But artillery, which is pretty useless in flight, should reasonably be able to switch ammo.