Who knows real cause? "cause" is usually a loose association of events and not a scientific statement of cause and effect.
But, what does it matter? Since we don't know "cause", learn to live with it. Careful don't let discussions of "cause" lead you to think this behavior is not something you do. You are not the powerless puppet of some external force. There is more going on here. Think, reflect and adjust.