Hey Everyone

I am so confused and need help/input.

I started my weight loss journey about 2 months ago and was steadily losing weight (usually 1-3 pounds/week).
Two weeks ago, I went away on vacation for a week but I worked out hard when I was gone and managed to lose 3 pounds while away.
This week, I have somehow managed to gain 6 pounds in 6 days and I am not sure what is causing it.
Some things that have changed.
1. I started eating protein bars. Looking at my diary, I ate anywhere from 40 g to 127 g of protein each day. (note: I usually only eat 1-2 protein bars a day. I get the rest of my protein from chicken, eggs, etc.)
Note: I am currently doing T25 and am in the gamma phase (and use 8 pound weights to work out)
2. I started a new job where I am standing on my feet 8 hours a day. Usually, before I used to work out at night before bed (probably not a good thing to do but it was working for me. but now I come home and my legs are aching so I usually crash and work out before work).
3. Having said all of this, my calorie goal for each day is 1200 calories. But I usually eat back my exercise calories and so I consume around 1500 calories a day. (So far this has been working for me.)
This week, I went over my calories by the following amounts on the following days: (Note: I usually do go over my calorie amount (even with the exercise but I still lose weight))
- Sunday: Deficit of 42 calories
- Monday: Over by 1862 calories
- Tuesday: Deficit of 357 calories
- Wednesday: Over by 232 calories
- Thursday: Over by 17 calories
- Friday: Over by 475 calories
I understand that I went over a lot (especially Monday). But there's no way I went over by even 3,500 calories.

So what's going on??