You are more than likely not eating properly enough to put on lean muscle. Putting on lean muscle while on a calorie deficit is difficult if youre not in check which im assuming youre not. While you will still be "working out" and burning calories, you more than likely will not be adding muscle. While on a bulk (putting on muscle) most people eat at about 1500 calories over maintenance and then do their cut. Obviously there is bro science involved here but its the gist of it.
Post your diet please.
also, if you want serious info, go to bb.com forums and read for about 3 days and then you will know. Im serious.
lots of good nutrition and workout advise @ bb.com. when I started taking my nutrition and health more seriously, I read about every sticky about working out and eating and I think it provided a great knowledge foundation. Also
Fitness, lots of articles from alan aragon and lyle mcdonald and martin berkman (leangains). Use myplate.com to track food so I know what i am putting in my body.
there is so much information (lots of it conflicting) and people claiming one way works best. I think when it comes to losing weight, there are tons of ways to accomplish it. The main thing is consistency and commitment. Personally, I found counting calories to work best, IIFYM-if it fits your macros, focusing on getting enough protein fats and carbs in that order. I also practice intermittent fasting. Lost about 100 lb doing that. I did notice on a low carb diet, I would occasionally stall and needed a carb refeed, which seemed to contradict calorie counting, but I suppose if it was easy obesity might not be a problem
As far as working out, I did p90x for 180 days, now on starting strength. Both have worked as they claimed. The biggest thing I have learned There is a huge link between eating (nutrition), sleeping (rest), and working out (fitness). If you don't have all 3 in check, something will suffer.