The major reason was the elections in the West Bank, which threatened to shake Fatah domination there, and a change in US policy (Biden expected to be softer on Arabs than Trump). The violence propaganda started on TikTok weeks before the conflict. The Hamas's goal once in several years to exercise power, get international intention and get more funds to live. That's how they do many years already.