Don’t know if they are connected or not, but minutes before the explosion North Korea said through their KCNA news service that they will start military actions immediately.
Where did you hear this? I wouldn't doubt it.
("What difference does it make?")