Soviet Union was an US peer, in terms of power, and China was their ally. Bombing their nuclear facilities could result in war that the US could just as well lose, so that's why they had to show some restraint. But believe me, they would bomb those facilities if they could.