You summed it up perfectly.
This is the same bullshit we get from the rest of the world. They hate American troops until ISIS takes over, then they are begging for our help.
Same in the ghettos. Hate cops, until the crips are at your door. Then you run and call 911.