X has gone harder on login gating than the old Twitter they adopted for sure. Reddit also started going in this direction. Instagram has had it for a long time.
I suspect selling APIs for AI is playing a big role in that.
Reddit locked down their API around the time X started forcing logins (july 2023).