So tldr: was someone bombing Moscow? No. Then it's not important what was going on in Putin's head to justify whatever story he made to bomb Kyiv.
Inappropriate response of this type is not even terrorism, I would call it war crime.
Proportionality is important. Don't talk yourself into justifying actions of psycho murderers.