I don’t disagree with you just replied that by logic it is indeed possible to gain or lose weight depending on the type of calories you ingest
Whether you gain or lose weight through water weight has little to do with calories at all. If you take creatine, for example, it’s pretty normal to gain a few pounds of water weight until your creatine levels equalize in your body. That doesn’t mean that your body’s “metabolism” changes or something based on the calories you ingest. You’ve just got another pathway to gain/lose apparent weight, albeit temporarily.