Need help!

Options
I was losing weight great at 1200 a day. Started lifting weights and upped my calories to 1400 a day and I've gained 8 pounds. My BMI is 29% I don't feel I should be gaining. Advice please??