It's not a "ruling", it's a "refusal to hear the case", which effectively removes the injunction. They made no comment on the legality of the administration's actions.
Edit: jfc, lol @ the debate around whether or not to call it a "ruling". The government can continue to talk to social media companies for now regardless of whatever the hell you call it. I regret contributing to this lol.