The law includes a provision that requires the DPRK’s military to automatically execute nuclear strikes against enemy forces if its leadership comes under attack.
“The purpose of the United States is not only to remove our nuclear might itself, but eventually forcing us to surrender or weaken our rights to self-defense through giving up our nukes, so that they could collapse our government at any time,” Kim Jong Un said in the speech published by the DPRK’s official Korean Central News Agency.
AP article is extremely salty about this: https://archive.ph/rG7ap
It's more than that. The joint rehearsals performed annually by the US and the ROK (the ROK armed forces would be under the complete control of the US in an actual attack like this) force the DPRK to move their troops to stop an invasion (200,000 troops altogether on the US side). It's likely if there was no pushback a full invasion might occur. This puts strain on their economy (south economy good north economy bad bullshit is ridiculous when you realize the sanctions the DPRK is put under), causing more misery. Then the UN or some other power makes a paper on how the DPRK can't feed its people. The DPRK, to stop this, develops nuclear weapons, which can deter a full scale invasion without putting as much strain on their economy, allowing them to keep their people fed. The US and the UN in response throw a fit about the DPRK legally having nuclear weapons. It's a lose-lose, and if the brain worm infested Amerikan populous thought about it for a second they would realize that.