Doing everything right but weight gain..

Ta
Went to my doctor today and when I mentioned I gained 20lbs within a month after eating better and working out 4x a week they immediately scheduled a blood test and started asking of history for cancer and thyroid disorders. 
In a weird way I kind of hope my blood work shows something irregular so I can fix whatever is going on and get back to my normal self.