Here's my thoughts on the probable two reasons for Obama's illogical and dangerous actions.
1. Obama's is furious being left out of the Syria deal, this was the point he finally realized that under his rule the US have turned into a weak regional power in rapid decline with no influence in the Middle east.
2. It's an attempt at a coup, they are using terminology as "National Emergency" and "Our Democracy are under Attack". It's preparations for a coup to prevent Donald Trump taking office and possibly to let Obama rule a third term. For this they need war or to fabricate evidence that Donald Trump was assisted by Russia.
Even swedish "experts" are stunned at Obama's decision and sweden is a spinless vassal state to the US. Most of the people in sweden use umbrellas when it rains in Washington.