Playing devil’s advocate - this was thought to be a real possibility during the Cold War, and it seems like we came pretty close a few times during that period.
A nuclear war between two nuclear powers is different from a conventional war between two nuclear powers.
The former is, hopefully, unlikely unless one side feels there’s an existential crisis or a major loss. The latter is extremely likely.
Though the latter can definitely escalate into the former.