Everybody is assuming they hit each other while flying.
But maybe the helicopter was shot down, and in its path plunging towards the ground it collided with the 320... In other words, they hit the airbus from above. This also could explain why they didn't see them.
(And even if they did see them, it is not that easy to make an abrupt evasive maneuver in a split of a second.)