Details like these go through extensive A/B testing. Clearly, Meta has found that gating their content behind a login prompt leads to greater engagement and revenue growth. For what it's worth, I eventually created an Instagram account because of these prompts. The strategy works.