Imagine China fired all her nukes at the US and the US retaliated while the Chinese ones were in the air... there would be nothing left of either country within a couple of hours (or however long it takes to reach across the globe).
Anything left would be uninhabitable forever.
I dunno... nukes are messy.
E-warfare is "clean" and costs practically nothing to do.