He’s likely not thinking in the same manner you would be. Things Putin would look for: justification for intensifying hostilities, painting NATO as an existential threat, and rallying his country against a common enemy to gain support. Look through that lens, and the russian line being attacked make way more sense as something beneficial to him.