I will bet the friendly tank mistook the sound cues and also thought they were coming from a different direction. I've had enemy tanks drive right past me when I was sitting still next to some trees.
For some players, air combat and ground combat, AH2 was learned by sound cues as much as visual. It will take some time for them to transition their learned response cues. AH3 is a bit higher on the visual cues.