Sounds like a broken wire shorting. The wires flex every time the hatch is opened and in time they can break. Alternatively a connection could have come loose, or be bent, and be shorting direct to earth (the car body).
ChicksFan
November 2009
Automatic Answer
We may have found other answers which could help you.