In both cases the amount of muscle you can put on depends on how new you are to training and or if you’ve previously trained and are coming back from a long break. If you have been at it for a good period of time then recomps are not ideal, you’ll see better results faster from bulk/cut cycles.
Recomp happens at maintenance calories.
Caloric deficit is simply a cut, not a recomp.
In both cases the amount of muscle you can put on depends on how new you are to training and or if you’ve previously trained and are coming back from a long break. If you have been at it for a good period of time then recomps are not ideal, you’ll see better results faster from bulk/cut cycles.