This is because IDF soldiers have been posting extremely disturbing content and it has spread very quickly. A lot of the evidence from the ICJ ruling came from soldiers’ own posts.
Israeli leadership has recently met with TikTok and ads have been put up looking for Hebrew-speaking moderators. A guess would be that it’s _not_ to censor pro-Palestinian activists as much as it is to regulate Israeli content that might “give a bad look”.