She just wants to keep her speakership. She is trying to score points with her leftwing base by fighting Trump on every issue.
Her problem is that Trump is framing these fights and she is falling into traps. She was going against public opinion on impeachment and now is going against it again on war with Syria. The democrats are screwed.
Bingo. She just wanted to show that she “stood up to Trump”. She’s a mess but if you read leftist comments they are ecstatic.
She want’s all the power, but has no desire to use it to actually fix issues, just keep her power.