That seems very arbitrary and a little unclear. There doesn't seem to be any tool tip that indicates this in the game.
Could it say on the drone 'weapon' if a drone does or does not shoot at air or something like that? As I really feel like that is important information for the player to know.
Is there a reason why drone hive drones are able to shoot air but not other drones?