How did they do this?

I've looked everywhere and I can't find how they did it. Was it in after effects? Was it masking with lots of feathering?

I've looked everywhere and I can't find how they did it. Was it in after effects? Was it masking with lots of feathering?