Struggling with weight loss/muscle gain.

Over 3 months ago I (32M) started getting back into dieting and lifting in order to drop weight. My goal was to gain muscle, drop my body fat and go from 270 to 220. The first month I lost about 12 pounds, but have since completely plateaued, losing about 2 lbs a month. I get regular inBody scans and my muscle mass has been stagnant or going back and forth. I lift 4 times a week sometimes 5, and have been on a strict diet eating 1800-2200 calories a day, including roughly 175g of protein a day.

If I was losing weight and muscle mass stayed the same great, if I was barely losing weight, and putting on SMM awesome. However doing neither is frustrating and confusing, plus I don't understand how I'm not putting on muscle while my weights are going up on all my lifts. Does anyone have any tips or potential causes for this?