I wouldn't say "long term" - maybe a week or so after the macro change.
Short term it depends on how quick the change is made.
If its a gradual introduction (30g extra carbs per day, etc) then it will still be nothing too noticeable but if its an overnight increase then the water weight may be higher due to the downregulation of certain enzymes involved in breaking down carbs.
Its difficult to explain without getting too into the science but basically the downregulation of enzymes means your body becomes extremely inefficient at digesting carbs (depending on how long & how low you've been low carbing).
This means that some of the water "leaks" outside of the cells its supposed to be stored in, causing the bloated look many are familiar with.
But again, this tends to sort itself out within a week or so.
On a sidenote, this is also why long term keto dieting is stupid from a long term sustainability POV

The longer your on keto, the more glucose intolerant & insulin resistance you become - these are adaptive changes caused by the diet to spare any glucose that is available for the brain.
Not good if you ever plan on reintroducing carbs, or actually building muscle at some point...but I digress.