Can anyone explain ?

In first photo his anti air hit my plane while out of his attack range? 2nd photo how hi anti air engaged heli??