Their has been many ups & downs w/ my w & I during this. We will get along great, talk, text, spend time as a family, and then bam she'll pull back or hit me with seperation papers.
It's impossible to mind-read what is going on inside of them. I continually tell myself when things are going good or bad that I have no control over her and I'm just going to be the best me I can be regardless.
The detachment process is a tough battle but imo the most important one in this whole thing.
You are not powerless, you are just not detached enough, yet. Your w's words and actions seem like they are dictating your emotions right now and it is hard cycle to break but I've witnessed it many times on here as well as within myself.
What are you doing for yourself? GAL? Just you and your boys? Try to put more of a focus on that instead of the interaction w/ your w.
I know this is easier said than done because I've been in your shoes but you can do this.