Interesting thought. Or Iran would like to provoke a Korean conflict to split our forces up even more and strain our overall resources if we get involved.
Maybe a combination of multiple plays.
In the event of a conflict on the Korean Peninsula, I well imagine that Japan would get involved.
Two birds with one sub.