IPA ios output size extremely large in windows

I packaged my game for both ios and android for a relatively small project. The apk(etc1 and etc2 combined) size is around 56 mb. But the ios version is extremely large. The output when building from my windows machine is a ridiculous 332 mb !!

But…

I remote compiled the same game using my local mac machine. I was pleasantly surprised the ipa file size is now 90mb. Can someone explain to me why the ipa size is a staggering 332 mb when building purely on windows but became 90mb when remote building from windows into my mac ? Really crazy difference and im sure there are folks who are not aware of this problem.