Because Hillary attacked him and posed a greater chance of war with Russia.

I think Putin is regretting now that Trump was elected, because Trump is pushing back much harder at Russia (and China, and North Korea, and Iran, and Al Qaida, and ISIS) than Hillary EVER would.