Command and Control by Eric Schlosser[0] was a fascinating (and chilling) read about many of the incidents people have mentioned in the comments here. It focuses closely on the 374-7 Damascus Incident, but covers many many other “Broken Arrow”[1] incidents that have occurred.
It’s not a short read, but it’s eye-opening from the engineering perspective that nuclear arsenals are wildly complicated beasts with on-going maintenance, like any machine.
EDIT: It’s also available as a documentary on Netflix[2] Not as in-depth, but it covers the Damascus incident pretty well.
[0] https://www.amazon.com/dp/0143125788
[1] https://en.wikipedia.org/wiki/United_States_military_nuclear...