Your guess is as good as mine.
There is no way to know what the cause is when this hasn't happened in 6 months or more. The problem has to be present to even begin to do diagnostic work to try and figure out the issue.
All I can tell you to do is clean and check over all power and ground connections at the engine and battery. Make sure everything is clean and tight.