The Dow is not the stock market. Look at the total stock market (something like VTI).
That said, it seems that the stock market is doing well in spite of this war, and not because of it. Who knows how long that will last
They probably had a few stock owners in mind, which came ahead and keep coming ahead with strategically planned transactions placed right before another US major move - all by pure coincidence of course.