The AI call out targets, but refuse to engage infantry the majority of the time. They seem to be better about engaging vehicles, but it's still spotty. I've done a slow orbit around a town with a single AI infantry squad and my gunners don't fire a shot, and the ghost hawk eventually is downed by small arms fire. I tested further to see if AI pilots fared any better, and if they would assign targets and have gunners engage, but they do not - the AI ghosthawk was shot down faster, and engaged exactly zero targets.
This is extremely annoying, as it currently means that the ghosthawk is useless in any sort of engagement capacity, and is only good for dropping folks off.