My understanding is that ULA gets paid lots and lots of money to maintain two independent launch vehicles, the Atlas V and the Delta IV. That way if one of the rockets is grounded for some reason, space access is still available.
ULA prefers Atlas V because it is more profitable for them. But it uses engines from Russia.
The Russian engines are purchased from a company with ties to one of the people targeted by US sanctions against Russia... so the judge has granted the injunction to prevent purchasing those Russian engines.
ULA has a stockpile of some Russian engines already, and they have the (less profitable for them) Delta IV if they can't launch Atlas V for any reason... and running out of engines would be one of those reasons. But ULA would prefer to continue buying engines. But we've been paying them to have both rockets available, so they'd better be able to show up with what they've promised.
Separate from this injunction, SpaceX is asking for a review of the large block by of ULA cores, as it was done just before (a few days before) one of the final milestones of SpaceX being qualified to launch for the air force. I think it's not unreasonable for them to say that it's unacceptable to do a huge purchase when if you wait for a few days you would have multiple vendors competing for the bid.
Even John McCain thinks that contract smells fishy: link